/**
* onetrust-banner-sdk
* v202605.1.0
* by OneTrust LLC
* Copyright 2026
*/
(()=>{var G=function(e,t){return(G=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}))(e,t)};function x(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}G(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var H,R=function(){return(R=Object.assign||function(e){for(var t,o=1,n=arguments.length;oa[0]&&t[1]this.length)&&(t=this.length),this.substring(t-e.length,t)===e},writable:!0,configurable:!0})},$.prototype.initClosestPolyfill=function(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||Object.defineProperty(Element.prototype,"closest",{value:function(e){var t=this;do{if(t.matches(e))return t}while(null!==(t=t.parentElement||t.parentNode)&&1===t.nodeType);return null},writable:!0,configurable:!0})},$.prototype.initIncludesPolyfill=function(){String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(e,t){return!((t="number"!=typeof t?0:t)+e.length>this.length)&&-1!==this.indexOf(e,t)},writable:!0,configurable:!0})},$.prototype.initObjectAssignPolyfill=function(){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(e),n=1;n>>0,n=arguments[1]>>0,r=n<0?Math.max(o+n,0):Math.min(n,o),n=arguments[2],n=void 0===n?o:n>>0,i=n<0?Math.max(o+n,0):Math.min(n,o);r{for(var e=i.split(";").concat(s.split(";")).filter(function(e){return 0!==e.length}),t="",o="",n=e.length-1;0<=n;n--){var r=e[n].substring(0,e[n].indexOf(":")+1).trim();t.indexOf(r)<0&&(t+=r,o+=e[n]+";")}return o})():s;e.setAttribute("style",t)}a.insertAfter=function(e,t){t.parentNode.insertBefore(e,t.nextSibling)},a.insertBefore=function(e,t){t.parentNode.insertBefore(e,t)},a.inArray=function(e,t){return t.indexOf(e)},a.ajax=function(e){var t=null,o=new XMLHttpRequest,n=e.type,r=e.contentType,i=e.data,s=e.success,a=e.token,t=e.error;o.open(n,e.url,!e.sync),o.setRequestHeader("Content-Type",r),a&&o.setRequestHeader("Authorization",a),o.withCredentials=!1,o.onload=function(){var e;200<=this.status&&this.status<400?(e=JSON.parse(this.responseText),s(e)):t({message:"Error Loading Data",statusCode:this.status})},o.onerror=function(e){t(e)},"post"===n.toLowerCase()||"put"===n.toLowerCase()?o.send(i):o.send()},a.prevNextHelper=function(o,e,n){var r=[];function i(e,t,o){t[e]&&o?o.includes(".")?(t[e].classList[0]||t[e].classList.value&&t[e].classList.value.includes(o.split(".")[1]))&&r.push(t[e]):o.includes("#")?t[e].id===o.split("#")[1]&&r.push(t[e]):t[e].tagName===document.createElement(o.trim()).tagName&&r.push(t[e]):t[e]&&r.push(t[e])}return"string"==typeof e?Array.prototype.forEach.call(document.querySelectorAll(e),function(e,t){i(o,e,n)}):i(o,e,n),r},a.browser=function(){var e,t,o;return navigator.sayswho=(o=(t=navigator.userAgent).match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[],/trident/i.test(o[1])?"IE "+((e=/\brv[ :]+(\d+)/g.exec(t)||[])[1]||""):"Chrome"===o[1]&&null!=(e=t.match(/\b(OPR|Edge)\/(\d+)/))?e.slice(1).join(" ").replace("OPR","Opera"):(o=o[2]?[o[1],o[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=t.match(/version\/(\d+)/i))&&o.splice(1,1,e[1]),o.join(" "))),{version:parseInt(navigator.sayswho.split(" ")[1]),type:navigator.sayswho.split(" ")[0],userAgent:navigator.userAgent}},a.isNodeList=function(e){e=Object.prototype.toString.call(e);return"[object NodeList]"===e||"[object Array]"===e},a.getInnerHtmlContent=function(e){return a.isCspTrustedType()?window.OtTrustedType.TrustedTypePolicy.createHTML(e):e},a.getScriptUrl=function(e){return a.isCspTrustedType()?window.OtTrustedType.TrustedTypePolicy.createScriptURL(e):e},a.isCspTrustedType=function(){var e;return(null==(e=window.OtTrustedType)?void 0:e.isCspTrustedTypeEnabled)&&(null==(e=window.OtTrustedType)?void 0:e.TrustedTypePolicy)},a.prototype.fadeOut=function(e){var t=this;if(void 0===e&&(e=60),1<=this.el.length)for(var o=0;o"))if(Array.isArray(e)){var o=this;Array.prototype.forEach.call(e,function(e,t){document.querySelector(o.selector).appendChild(new a(e,"ce").el)})}else{if("string"==typeof e||Array.isArray(e))return this.appendHtmlElement(e);if("string"==typeof this.selector)document.querySelector(this.selector).appendChild(e);else if(1<=e.length)for(var t=0;t{if(e&&"string"==typeof e&&e.startsWith("2~")&&e.includes("~dv")){e=e.split("~");if(3===e.length){var t=e[0],o=e[1],e=e[2];if("2"===t)if(e.startsWith("dv"))return(t=function(e){return""===e||e.split(".").every(function(e){return/^\d+$/.test(e)&&0o&&(w.deletedGoogleVendors[t]=w.addtlVendorsList[t],delete w.addtlVendorsList[t])},uo.prototype.removeInActiveAddtlVendors=function(){var e,t=N.OverridenGoogleVendors;for(e in t)t[e].active||delete w.addtlVendorsList[e]},uo.prototype.getIABConsentData=function(){var e=w.oneTrustIABConsent,t=B.iabStringSDK().tcString(),o=(w.tcModel.unsetAllPurposeConsents(),w.tcModel.unsetAllVendorConsents(),w.tcModel.unsetAllVendorLegitimateInterests(),w.tcModel.unsetAllSpecialFeatureOptins(),w.tcModel.unsetAllPurposeLegitimateInterests(),w.tcModel.publisherConsents.empty(),w.tcModel.publisherLegitimateInterests.empty(),w.tcModel.purposeConsents.set(v.getActiveIdArray(e.purpose)),w.tcModel.publisherConsents.set(v.getActiveIdArray(e.purpose)),D.legIntSettings.PAllowLI?v.getActiveIdArray(e.legimateInterest):[]),o=(w.tcModel.purposeLegitimateInterests.set(o),w.tcModel.publisherLegitimateInterests.set(o),w.tcModel.vendorConsents.set(v.getActiveIdArray(v.distinctArray(e.vendors))),D.legIntSettings.PAllowLI&&this.shouldSetVendorLegitimateInterest(e)&&(e.legIntVendors=[]),w.tcModel.vendorLegitimateInterests.set(v.getActiveIdArray(v.distinctArray(e.legIntVendors))),w.tcModel.specialFeatureOptins.set(v.getActiveIdArray(e.specialFeatures)),new Date),e=new Date(Date.UTC(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate())),o=(w.tcModel.lastUpdated=e,w.tcModel.created=e,t.encode(w.tcModel));return w.cmpApi.update(o,!1),o},uo.prototype.shouldSetVendorLegitimateInterest=function(e){return!w.anyVendorHasOnlySplPur&&!v.getActiveIdArray(e.legimateInterest)},uo.prototype.decodeTCString=function(e){return B.iabStringSDK().tcString().decode(e)},uo.prototype.getVendorConsentsRequestV2=function(e){var o;return window.__tcfapi("getInAppTCData",2,function(e,t){o=[e,t]}),e.apply(this,o)},uo.prototype.getPingRequestForTcf=function(e){var t;return window.__tcfapi("ping",2,function(e){t=[e]}),e.apply(this,t)},uo.prototype.populateVendorAndPurposeFromCookieData=function(){var e,n=w.oneTrustIABConsent,t=lo.decodeTCString(n.IABCookieValue),o=!t.vendorsDisclosed||0===t.vendorsDisclosed.size,r=b.GroupTypes,i={},s={},a=(D.iabGrps.forEach(function(e){e.Type===r.Pur?i[D.iabGrpIdMap[e.CustomGroupId]]=e:e.Type===r.Spl_Ft&&(s[D.iabGrpIdMap[e.CustomGroupId]]=e)}),[]),l=(this.syncVendorConsent(t),a=[],t.vendorLegitimateInterests.forEach(function(e,t){var o=e;w.vendorsSetting[t]&&w.vendorsSetting[t].legInt||!e||(a.push(t),o=!1),n.legIntVendors.push(t+":"+o)}),t.vendorLegitimateInterests.unset(a),a=[],t.purposeConsents.forEach(function(e,o){var t=e,e=(!(i[o]&&i[o].HasConsentOptOut)&&e&&(a.push(o),t=!1),v.findIndex(n.purpose,function(e,t){return e.split(":")[0]===o.toString()}));-1===e?n.purpose.push(o+":"+t):n.purpose[e]=o+":"+t}),t.purposeConsents.unset(a),t.publisherConsents.unset(a),a=[],t.specialFeatureOptins.forEach(function(e,o){var t=e,e=(!(s[o]&&s[o].HasConsentOptOut)&&e&&(a.push(o),t=!1),v.findIndex(n.specialFeatures,function(e,t){return e.split(":")[0]===o.toString()}));-1===e?n.specialFeatures.push(o+":"+t):n.specialFeatures[e]=o+":"+t}),t.specialFeatureOptins.unset(a),this.syncPurAndPubLegInt(t,i),this.syncBundleAndStack(),t.gvl=w.tcModel.gvl,t.gvl&&t.gvl.vendors);l&&t.vendorsDisclosed&&"function"==typeof t.vendorsDisclosed.set&&(e=Object.keys(l).map(Number)).length&&t.vendorsDisclosed.set(e),t.isServiceSpecific=!B.isIABCrossConsentEnabled(),w.tcModel=t,B.isAlertBoxClosedAndValid()?o&&l?((e=lo.decodeTCString(n.IABCookieValue)).gvl=w.tcModel.gvl,o=Object.keys(l).map(Number),e.vendorsDisclosed&&"function"==typeof e.vendorsDisclosed.set&&o.length&&e.vendorsDisclosed.set(o),e.isServiceSpecific=t.isServiceSpecific,l=B.iabStringSDK().tcString().encode(e),n.IABCookieValue=l,w.cmpApi.update(l,!1)):w.cmpApi.update(n.IABCookieValue,!1):B.resetTCModel()},uo.prototype.syncVendorConsent=function(e){var n=[],r=[];e.vendorConsents.forEach(function(e,t){var o=e;w.vendorsSetting[t]&&w.vendorsSetting[t].consent||!e||(n.push(t),o=!1),r.push(t+":"+o)}),w.oneTrustIABConsent.vendors=r,e.vendorConsents.unset(n)},uo.prototype.syncPurAndPubLegInt=function(e,n){var r=[],i=w.oneTrustIABConsent;e.purposeLegitimateInterests.forEach(function(e,o){var t=e,e=(!(n[o]&&n[o].HasLegIntOptOut&&D.legIntSettings.PAllowLI)&&e&&(r.push(o),t=!1),v.findIndex(i.legimateInterest,function(e,t){return e.split(":")[0]===o.toString()}));-1===e?i.legimateInterest.push(o+":"+t):i.legimateInterest[e]=o+":"+t}),e.purposeLegitimateInterests.unset(r),e.publisherLegitimateInterests.unset(r)},uo.prototype.syncBundleAndStack=function(){var e=I.readCookieParam(P.OPTANON_CONSENT,"groups"),n=(w.groupsConsent=v.strToArr(e),b.GroupTypes);N.Groups.forEach(function(t){var e,o;t.Type!==n.Bundle&&t.Type!==n.Stack||(o=h.isBundleOrStackActive(t),e=v.findIndex(w.groupsConsent,function(e){return e.split(":")[0]===t.CustomGroupId}),o=t.CustomGroupId+":"+Number(o),-1this.MAX_LEN?o.slice(0,this.MAX_LEN):o):""}catch(e){return""}},Io.prototype.setLandingPathParam=function(e){e=this.sanitizeLandingPath(e);e&&I.writeCookieParam(P.OPTANON_CONSENT,"landingPath",e)};var Po,ko=Io;function Io(){this.MAX_LEN=1024}No.prototype.synchroniseCookieGroupData=function(e){var r=this,t=I.readCookieParam(P.OPTANON_CONSENT,"groups"),i=v.strToArr(t),s=v.strToArr(t.replace(/:0|:1/g,"")),t=B.needReconsent(),a=!1,l=!1,c=b.GroupTypes;e.forEach(function(e){var t,o,n=e.CustomGroupId;e.Type!==c.Bundle&&e.Type!==c.Stack&&(-1===v.indexOf(s,n)?(a=!0,t=L.checkIsActiveByDefault(e),l=!0,i.push(n+(t?":1":":0"))):l=r.updateImpliedConsentGroup(e,i,n,l),D.DNTEnabled&&e.IsDntEnabled&&D.dntValueChanged&&(null==(t=e.Status)?void 0:t.toLowerCase())!==f.ALWAYS_INACTIVE&&(null==(t=e.Status)?void 0:t.toLowerCase())!==f.ALWAYS_ACTIVE&&-1{var t=e[n].replace(/:0|:1/g,"");N.Groups.some(function(e){return(!o||e.Type!==b.GroupTypes.Stack)&&(e.CustomGroupId===t||e.SubGroups.some(function(e){return e.CustomGroupId===t}))})||(r=!0,e.splice(n,1))})();return r},No.prototype.updateConsentForBundleGrps=function(e,r,i,t,s){var a=this,l=t,c=b.GroupTypes;return e.forEach(function(e){var t,o=e.Type===c.Bundle||e.Type===c.Stack,n=e.CustomGroupId;o&&(-1===v.indexOf(i,n)?(o=h.isBundleOrStackActive(e,r),l=!0,r.push(n+(o?":1":":0"))):s&&"false"===B.getIABCrossConsentflagData()||D.gpcEnabled&&D.gpcValueChanged||w.syncRequired?(o=h.isBundleOrStackActive(e,r),-1<(t=r.indexOf(n+":"+(o?"0":"1")))&&(l=!0,r[t]=n+(o?":1":":0"))):l=a.updateImpliedConsentGroup(e,r,n,l))}),l},No.prototype.groupHasConsent=function(t){var e=v.strToArr(I.readCookieParam(P.OPTANON_CONSENT,"groups")),o=v.findIndex(e,function(e){return e.split(":")[0]===t.CustomGroupId});return-1{var t=r[o].replace(/:0|:1/g,"");N.Groups.some(function(e){return U(e.SubGroups,[e]).some(function(e){return e.Hosts.some(function(e){return e.HostId===t})})})||(s=!0,r.splice(o,1))})();s&&(w.fireOnetrustGrp=!0,ho.writeHstParam(P.OPTANON_CONSENT,r))},No.prototype.toggleGroupHosts=function(e,t){var o=this;e.Hosts.forEach(function(e){o.updateHostStatus(e,t)})},No.prototype.toggleGroupGenVendors=function(e,t){e.GeneralVendorsIds.forEach(function(e){vo.updateGenVendorStatus(e,t)})},No.prototype.updateHostStatus=function(t,e){var o=v.findIndex(w.hostsConsent,function(e){return!t.isActive&&t.HostId===e.replace(/:0|:1/g,"")});-1 button:focus, #onetrust-pc-sdk .ot-ven-item > button:focus {\n border: 1px solid "+t+";\n }\n #onetrust-consent-sdk #onetrust-pc-sdk *:focus,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-vlst-cntr > a:focus {\n outline: 1px solid "+t+";\n outline-offset: 1px;\n }"),e},Vo.prototype.setCloseIconColor=function(){var e="";return N.PCCloseButtonType===Ae.Link&&(e+="#onetrust-pc-sdk.ot-close-btn-link .ot-close-icon {color: "+N.PCContinueColor+"}"),e},Vo.prototype.setTabLayoutStyles=function(){var e="",t=N.pcMenuColor,o=N.pcMenuHighLightColor;return D.pcName===at&&(t&&(e+="#onetrust-consent-sdk #onetrust-pc-sdk .category-menu-switch-handler {\n background-color: "+t+"\n }"),o)&&(e+="#onetrust-consent-sdk #onetrust-pc-sdk ."+T.P_Active_Menu+" {\n background-color: "+o+"\n }"),e},Vo.prototype.setFocusIfTemplateUpgrade=function(){var e="",t=N.PCFocusBorderColor;return!N.PCTemplateUpgrade&&t&&(e+='\n #onetrust-pc-sdk input[type="checkbox"]:focus + .accordion-header,\n #onetrust-pc-sdk .category-item .ot-switch.ot-toggle input:focus + .ot-switch-label,\n #onetrust-pc-sdk .checkbox input:focus + label::after {\n outline-color: '+t+";\n outline-width: 1px;\n }"),e},Vo.prototype.setExtLnkUrl=function(){var e="",t=h.updateCorrectUrl(N.OTExternalLinkLogo);return t&&(e+="a.ot-ext-lnk:after {\n content: '';\n background-image: url('"+(N.BannerExternalLinksLogo?h.updateCorrectUrl(N.BannerExternalLinksLogo):t)+"');\n display: inline-block;\n width: 13px;\n height: 13px;\n background-size: contain;\n background-repeat: no-repeat;\n margin-bottom: -2px;\n margin-left: 2px;\n }\n "),e},Vo.prototype.setBannerLinkMargins=function(){return"#onetrust-banner-sdk #onetrust-policy-text a.ot-cookie-policy-link,\n #onetrust-banner-sdk #onetrust-policy-text a.ot-imprint-link {\n margin-left: 5px;\n }"},Vo.prototype.setCustomCss=function(){var e="";return N.pcCustomCSS&&(e+=N.pcCustomCSS),e};var wo,Bo=Vo;function Vo(){this.processedCSS="",this.addCustomBannerCSS=function(){var e=N.backgroundColor,t=N.buttonColor,o=N.textColor,n=N.buttonTextColor,r=N.bannerMPButtonColor,i=N.bannerMPButtonTextColor,s=N.bannerAccordionBackgroundColor,a=N.BSaveBtnColor,l=N.BCategoryContainerColor,c=N.BLineBreakColor,d=N.BCategoryStyleColor,u=N.bannerLinksTextColor,p=N.BFocusBorderColor,o="\n "+(D.bannerName===Ze?e?"#onetrust-consent-sdk #onetrust-banner-sdk .ot-sdk-container {\n background-color: "+e+";}":"":e?"#onetrust-consent-sdk #onetrust-banner-sdk {background-color: "+e+";}":"")+"\n "+(o?"#onetrust-consent-sdk #onetrust-policy-title,\n #onetrust-consent-sdk #onetrust-policy-text,\n #onetrust-consent-sdk .ot-b-addl-desc,\n #onetrust-consent-sdk .ot-dpd-desc,\n #onetrust-consent-sdk .ot-dpd-title,\n #onetrust-consent-sdk #onetrust-policy-text *:not(.onetrust-vendors-list-handler),\n #onetrust-consent-sdk .ot-dpd-desc *:not(.onetrust-vendors-list-handler),\n #onetrust-consent-sdk #onetrust-banner-sdk #banner-options *,\n #onetrust-banner-sdk .ot-cat-header,\n #onetrust-banner-sdk .ot-optout-signal\n {\n color: "+o+";\n }":"")+"\n "+(s?"#onetrust-consent-sdk #onetrust-banner-sdk .banner-option-details {\n background-color: "+s+";}":"")+"\n "+(u?" #onetrust-consent-sdk #onetrust-banner-sdk a[href],\n #onetrust-consent-sdk #onetrust-banner-sdk a[href] font,\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-link-btn\n {\n color: "+u+";\n }":"");return(t||n)&&(o+="#onetrust-consent-sdk #onetrust-accept-btn-handler,\n #onetrust-banner-sdk #onetrust-reject-all-handler,\n #onetrust-banner-sdk #ot-dialog-confirm-handler {\n "+(t?"background-color: "+t+";border-color: "+t+";":"")+"\n "+(n?"color: "+n+";":"")+"\n }"),p&&(o+="\n #onetrust-consent-sdk #onetrust-banner-sdk *:focus,\n #onetrust-consent-sdk #onetrust-banner-sdk:focus {\n outline-color: "+p+";\n outline-width: 1px;\n }"),(i||r)&&(o+="\n #onetrust-consent-sdk #onetrust-pc-btn-handler,\n #onetrust-consent-sdk #onetrust-pc-btn-handler.cookie-setting-link,\n #onetrust-consent-sdk #ot-dialog-cancel-handler {\n "+(i?"color: "+i+"; border-color: "+i+";":"")+"\n background-color:\n "+(r&&!N.BannerSettingsButtonDisplayLink?r:e)+";\n }"),D.bannerName===tt&&(r=i=t=u=s=void 0,d&&(i="background-color: "+d+";",r="border-color: "+d+";"),p&&(o+="\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-tgl input:focus+.ot-switch .ot-switch-nob,\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-chkbox input:focus + label::before {\n outline-color: "+p+";\n outline-width: 1px;\n }"),o+="#onetrust-banner-sdk .ot-bnr-save-handler {"+(s=a?"color: "+n+";border-color: "+n+";background-color: "+a+";":s)+"}#onetrust-banner-sdk .ot-cat-lst {"+(u=l?"background-color: "+l+";":u)+"}#onetrust-banner-sdk .ot-cat-bdr {"+(t=c?"border-color: "+c+";":t)+"}#onetrust-banner-sdk .ot-tgl input:checked+.ot-switch .ot-switch-nob:before,#onetrust-banner-sdk .ot-chkbox input:checked~label::before {"+i+"}#onetrust-banner-sdk .ot-chkbox label::before,#onetrust-banner-sdk .ot-tgl input:checked+.ot-switch .ot-switch-nob {"+r+"}#onetrust-banner-sdk #onetrust-pc-btn-handler.cookie-setting-link {background: inherit}"),N.BCloseButtonType===Ae.Link&&(o+="#onetrust-banner-sdk.ot-close-btn-link .banner-close-button {color: "+N.BContinueColor+"}"),o+=wo.setBannerLinkMargins()},this.addCustomPreferenceCenterCSS=function(){var e=N.pcBackgroundColor,t=N.pcTextColor,o=N.pcLinksTextColor,n=N.PCenterEnableAccordion,r=N.pcAccordionBackgroundColor,e="\n "+(e?(D.pcName===rt?"#onetrust-consent-sdk #onetrust-pc-sdk .group-parent-container,\n #onetrust-consent-sdk #onetrust-pc-sdk .manage-pc-container,\n #onetrust-pc-sdk "+T.P_Vendor_List:"#onetrust-consent-sdk #onetrust-pc-sdk")+",\n #onetrust-consent-sdk "+T.P_Search_Cntr+",\n "+(n&&D.pcName===rt?"#onetrust-consent-sdk #onetrust-pc-sdk .ot-accordion-layout"+T.P_Category_Item:"#onetrust-consent-sdk #onetrust-pc-sdk .ot-switch.ot-toggle")+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Tab_Grp_Hdr+" .checkbox,\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Title+":after\n "+(k.isV2Template?",#onetrust-consent-sdk #onetrust-pc-sdk #ot-sel-blk,\n #onetrust-consent-sdk #onetrust-pc-sdk #ot-fltr-cnt,\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Triangle:"")+" {\n background-color: "+e+";\n }\n ":"")+"\n "+(t?'#onetrust-consent-sdk #onetrust-pc-sdk h3,\n #onetrust-consent-sdk #onetrust-pc-sdk h4,\n #onetrust-consent-sdk #onetrust-pc-sdk h5,\n #onetrust-consent-sdk #onetrust-pc-sdk h6,\n #onetrust-consent-sdk #onetrust-pc-sdk p,\n #onetrust-consent-sdk #onetrust-pc-sdk span[id^="ot-header-id"],\n #onetrust-consent-sdk #onetrust-pc-sdk #ot-pvcy-txt,\n #onetrust-consent-sdk #onetrust-pc-sdk #privacy-text,\n #onetrust-consent-sdk #onetrust-pc-sdk '+T.P_Vendor_Container+" "+T.P_Ven_Opts+" p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Policy_Txt+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Title_Mobile+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Li_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Leg_Select_All+" span,\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Host_Cntr+" "+T.P_Host_Info+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Fltr_Modal+" #modal-header,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-checkbox label span,\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Vendor_List+" "+T.P_Select_Cntr+" p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Vendor_List+" "+T.P_Vendor_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Vendor_List+' #ot-lst-title p[aria-level="3"],\n #onetrust-consent-sdk #onetrust-pc-sdk '+T.P_Vendor_List+" .back-btn-handler p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Vendor_List+" "+T.P_Ven_Name+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Vendor_List+" "+T.P_Vendor_Container+" .consent-category,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-leg-btn-container .ot-inactive-leg-btn,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-label-status,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-chkbox label span,\n #onetrust-consent-sdk #onetrust-pc-sdk #clear-filters-handler,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-optout-signal\n {\n color: "+t+";\n }":"")+"\n "+(o?" #onetrust-consent-sdk #onetrust-pc-sdk .privacy-notice-link,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-pgph-link,\n #onetrust-consent-sdk #onetrust-pc-sdk .category-vendors-list-handler,\n #onetrust-consent-sdk #onetrust-pc-sdk .category-vendors-list-handler + a,\n #onetrust-consent-sdk #onetrust-pc-sdk .category-host-list-handler,\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Ven_Link+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Ven_Leg_Claim+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Host_Cntr+" "+T.P_Host_Title+" a,\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Host_Cntr+" "+T.P_Acc_Header+" "+T.P_Host_View_Cookies+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Host_Cntr+" "+T.P_Host_Info+" a,\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Content+" "+T.P_Policy_Txt+" .ot-link-btn,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-vnd-serv .ot-vnd-item .ot-vnd-info a,\n #onetrust-consent-sdk #onetrust-pc-sdk #ot-lst-cnt .ot-vnd-info a,\n #onetrust-consent-sdk #onetrust-pc-sdk #ot-pc-desc a\n {\n color: "+o+";\n }":"")+"\n #onetrust-consent-sdk #onetrust-pc-sdk .category-vendors-list-handler:hover { text-decoration: underline;}\n "+(n&&r?"#onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Acc_Container+T.P_Acc_Txt+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Acc_Txt+" "+T.P_Subgrp_Tgl_Cntr+" .ot-switch.ot-toggle\n {\n background-color: "+r+";\n }":"")+"\n "+(r?" #onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Host_Cntr+" "+T.P_Host_Info+",\n "+(k.isV2Template?"#onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Acc_Txt+" .ot-ven-dets":"#onetrust-consent-sdk #onetrust-pc-sdk "+T.P_Acc_Txt+" "+T.P_Ven_Opts)+"\n {\n background-color: "+r+";\n }":"")+"\n ",e=(e=(e=(e=(e=(e=(e+=wo.setButonColor())+wo.setToggleColor())+wo.setFocusBorderColor())+wo.setCloseIconColor())+wo.setTabLayoutStyles())+wo.setTabLayoutStyles())+wo.setFocusIfTemplateUpgrade();return wo.shouldAddExtIconCss()&&(e+=wo.setExtLnkUrl()),e+=wo.setCustomCss()},this.addCustomCookieListCSS=function(){var e=N.CookiesV2NewCookiePolicy?"-v2.ot-sdk-cookie-policy":"",e="\n "+(N.cookieListPrimaryColor?"\n #ot-sdk-cookie-policy"+e+" h5,\n #ot-sdk-cookie-policy"+e+" h6,\n #ot-sdk-cookie-policy"+e+" li,\n #ot-sdk-cookie-policy"+e+" p,\n #ot-sdk-cookie-policy"+e+" a,\n #ot-sdk-cookie-policy"+e+" span,\n #ot-sdk-cookie-policy"+e+" td,\n #ot-sdk-cookie-policy"+e+" #cookie-policy-description {\n color: "+N.cookieListPrimaryColor+";\n }":"")+"\n "+(N.cookieListTableHeaderColor?"#ot-sdk-cookie-policy"+e+" th {\n color: "+N.cookieListTableHeaderColor+";\n }":"")+"\n "+(N.cookieListGroupNameColor?"#ot-sdk-cookie-policy"+e+" .ot-sdk-cookie-policy-group {\n color: "+N.cookieListGroupNameColor+";\n }":"")+"\n "+(N.cookieListTitleColor?"\n #ot-sdk-cookie-policy"+e+" #cookie-policy-title {\n color: "+N.cookieListTitleColor+";\n }\n ":"")+"\n "+(e&&N.CookieListTableHeaderBackgroundColor?"\n #ot-sdk-cookie-policy"+e+" table th {\n background-color: "+N.CookieListTableHeaderBackgroundColor+";\n }\n ":"")+"\n ";return N.cookieListCustomCss&&(e+=N.cookieListCustomCss),e}}Ho.prototype.setBannerFocus=function(){var e=this,t=Array.prototype.slice.call(m("#onetrust-banner-sdk .onetrust-vendors-list-handler").el),o=Array.prototype.slice.call(m('#onetrust-banner-sdk #onetrust-policy-text a,#onetrust-banner-sdk #onetrust-policy-text button,#onetrust-banner-sdk #onetrust-policy-text [tabindex]:not([tabindex="-1"])').el),n=Array.prototype.slice.call(m("#onetrust-banner-sdk .ot-bnr-save-handler").el),r=Array.prototype.slice.call(m("#onetrust-banner-sdk #onetrust-pc-btn-handler").el),i=Array.prototype.concat.call(Array.prototype.slice.call(m("#onetrust-banner-sdk .category-switch-handler:not([disabled])").el),Array.prototype.slice.call(m("#onetrust-banner-sdk .ot-cat-lst button").el),t),i=Array.prototype.concat.call(o,i),s=Array.prototype.slice.call(m("#onetrust-banner-sdk .onetrust-close-btn-handler").el),t=(D.bannerName===Ze&&(i=Array.prototype.concat.call(t,o)),Array.prototype.slice.call(m("#onetrust-banner-sdk #onetrust-accept-btn-handler").el)),o=Array.prototype.slice.call(m("#onetrust-banner-sdk #onetrust-reject-all-handler").el),n=Array.prototype.concat.call(n,t,o,r),r=((D.bannerName!==Xe||N.IsIabEnabled)&&D.bannerName!==Je&&D.bannerName!==et||(n=Array.prototype.concat.call(r,o,t)),Array.prototype.slice.call(m("#onetrust-banner-sdk .ot-gv-list-handler").el)),o=(D.bannerName===tt?(i=Array.prototype.concat.call(r,i),n=Array.prototype.slice.call(m("#onetrust-banner-sdk #onetrust-button-group button").el)):i=Array.prototype.concat.call(i,r),this.rearrangeInButtonOrder(n),m("#onetrust-banner-sdk .ot-b-addl-desc").el[0]),t=this.getTabbableElements(o),i=N.BannerAdditionalDescPlacement===le.AfterTitle?Array.prototype.concat.call(t,i):Array.prototype.concat.call(i,t),r=new Set(Array.prototype.concat.call(Array.prototype.slice.call(m("#onetrust-banner-sdk #onetrust-cookie-btn").el),i,Array.prototype.slice.call(m("#onetrust-banner-sdk .banner-option-input").el),n,Array.prototype.slice.call(m("#onetrust-banner-sdk .ot-bnr-footer-logo a").el),s));this.bannerEl=Array.from(r),this.banner=m("#onetrust-banner-sdk").el[0],(N.BInitialFocus||N.BInitialFocusLinkAndButton||N.ForceConsent)&&(N.BInitialFocus?setTimeout(function(){e.banner.focus()},1e3):setTimeout(function(){e.bannerEl[0].focus()},1e3))},Ho.prototype.handleBannerFocus=function(e,t){var o=e.target,n=Go.bannerEl,r=n.indexOf(o),i=n.length-1,s=null;if(this.handleBannerFocusBodyReset(t,r,i))h.resetFocusToBody();else if(this.banner===o)s=this.handleInitialBannerFocus(t,n,i,s);else for(;!s;){var a=void 0;if(!(a=t?r<=0?n[i]:n[r-1]:r===i?n[0]:n[r+1]))break;0!==a.clientHeight||0!==a.offsetHeight?s=a:t?r--:r++}s&&(e.preventDefault(),s.focus())},Ho.prototype.rearrangeInButtonOrder=function(e){N.PCTemplateUpgrade&&k.fp.WebButtonCustomisations&&e&&e.sort(function(e,t){function o(e){return(e=Array.from(e.classList).find(function(e){return e.startsWith("ot-button-order-")}))?parseInt(e.replace("ot-button-order-","")):1/0}return o(e)-o(t)})},Ho.prototype.handleBannerFocusBodyReset=function(e,t,o){return!(N.ForceConsent||!(e&&0===t||!e&&t===o))},Ho.prototype.handleInitialBannerFocus=function(e,t,o,n){return e&&N.ForceConsent?n=t[o]:e||(n=t[0]),n},Ho.prototype.setPCFocus=function(e){if(e&&!(e.length<=0)){for(var t=0;t{var t,e=w.oneTrustIABConsent[o];"purpose"===o||"specialFeatures"===o?e.forEach(function(e){var t="purpose"===o?"IAB2V2":"ISF2V2",e=e.split(":");"true"===e[1]&&n.push(t+"_"+e[0])}):(t=[],e.forEach(function(e){e.value&&t.push(e.groupId.toString())}),n=U(n,t))})(t[e]);return n}catch(e){return[]}},tn.prototype.dispatchEvents=function(e,t,o){!e&&D.gtmUpdatedinStub||(n=new CustomEvent("consent.onetrust",{detail:t}));var n,r,i=I.readCookieParam(P.OPTANON_CONSENT,"groups"),s=w.fireOnetrustGrp||!i||e||!D.gtmUpdatedinStub;s&&(w.fireOnetrustGrp=!1,!D.otDataLayer.ignore&&this._window[D.otDataLayer.name]&&this._window[D.otDataLayer.name].constructor===Array&&this._window[D.otDataLayer.name].push({event:"OneTrustGroupsUpdated",OnetrustActiveGroups:o}),r=new CustomEvent("OneTrustGroupsUpdated",{detail:t})),setTimeout(function(){n&&s&&window.dispatchEvent(n),r&&window.dispatchEvent(r)})},tn.prototype.isCategoryMapped=function(e){return e!==ht&&""!==e},tn.prototype.updateGCMTags=function(o){var n,r=this,i={},e=(this.canUpdateGCMCategories()&&(e=[[N.GoogleConsent.GCAdStorage,Ie.ad_storage],[N.GoogleConsent.GCAnalyticsStorage,Ie.analytics_storage],[N.GoogleConsent.GCFunctionalityStorage,Ie.functionality_storage],[N.GoogleConsent.GCPersonalizationStorage,Ie.personalization_storage],[N.GoogleConsent.GCSecurityStorage,Ie.security_storage]],k.fp.CookieV2GCMDMA&&(e.push([N.GoogleConsent.GCAdUserData,Ie.ad_user_data]),e.push([N.GoogleConsent.GCAdPersonalization,Ie.ad_personalization])),e.forEach(function(e){var t;r.isCategoryMapped(e[0])&&(t=o.includes(e[0])?be.granted:be.denied,i[e[1]]=t)})),I.getCookie(P.ALERT_BOX_CLOSED));D.getRegionRule().Global,"function"!=typeof window.gtag&&(n=this._window,window.gtag=function(e,t,o){D.otDataLayer.ignore||(n[D.otDataLayer.name]?n[D.otDataLayer.name].push(arguments):n[D.otDataLayer.name]=[arguments])}),"function"==typeof window.gtag&&(D.gcmDevIdSet||(window.gtag(Pe.set,"developer_id.dYWJhMj",!0),D.gcmDevIdSet=!0),e)&&0!==Object.keys(i).length&&window.gtag(Pe.consent,ke.update,i)},tn.prototype.updateMCMTags=function(e){for(var t="uetq",o={},n=0,r=Object.entries(N.MCMData.StorageTypes);n input[checked]")?v.setCheckedAttribute("",n,!0):v.setCheckedAttribute("",n,!1),document.querySelector(e.venListId+' li:not([style^="display: none"]) '+e.ctgl+" > input:not([checked])")?n.parentElement.classList.add(this.LINE_THROUGH_CLASS):n.parentElement.classList.remove(this.LINE_THROUGH_CLASS)},o.prototype.initGoogleVendors=function(){this.populateAddtlVendors(w.addtlVendorsList),this.venAdtlSelAllTglEvent()},o.prototype.initGenVendors=function(){this.populateGeneralVendors(),N.GenVenOptOut&&N.GeneralVendors&&N.GeneralVendors.length&&this.genVenSelectAllTglEvent()},o.prototype.resetAddtlVendors=function(){C.searchVendors(C.googleSearchSelectors,w.addtlVendorsList,me.GoogleVendor),this.showConsentHeader()},o.prototype.venAdtlSelAllTglEvent=function(){C.selectAllEventHandler({vendorsList:'#ot-addtl-venlst li:not([style^="display: none"]) .ot-ven-adtlctgl input',selAllCntr:"#onetrust-pc-sdk #ot-selall-adtlvencntr",selAllChkbox:"#onetrust-pc-sdk #ot-selall-adtlven-handler"})},o.prototype.genVenSelectAllTglEvent=function(){var e={vendorsList:T.P_Gven_List+' li:not([style^="display: none"]) .ot-ven-gvctgl input',selAllCntr:"#onetrust-pc-sdk #ot-selall-gnvencntr",selAllChkbox:"#onetrust-pc-sdk #ot-selall-gnven-handler"};C.selectAllEventHandler(e)},o.prototype.handleSelectAllChboxSelection=function(e,t,o){for(var n=!0,r=!0,i=0;i li"):document.querySelectorAll(T.P_Vendor_Container+' > li:not([style$="none;"]),'+T.P_Gven_List+' > li:not([style$="none;"])'),o=t.length,n=m('#onetrust-pc-sdk [role="status"]');o?n.text(t.length+" "+(e?"host":"vendor")+(1\n '+e+' '+N.NewWinTxt+"\n \n "),t.querySelector(T.P_Host_Title).innerHTML=S.getInnerHtmlContent(e),t.querySelector(T.P_Host_Desc).innerHTML=S.getInnerHtmlContent(o[n].Description),o[n].PrivacyPolicy&&N.pcShowCookieHost&&t.querySelector(T.P_Host_Desc).insertAdjacentHTML("afterend",S.getInnerHtmlContent(''+(a?N.PCGVenPolicyTxt:N.PCCookiePolicyText)+' '+N.NewWinTxt+"")),t.querySelector(T.P_Host_View_Cookies));!w.showGeneralVendors||o[n].Cookies&&o[n].Cookies.length?N.PCViewCookiesText&&(l.innerHTML=S.getInnerHtmlContent(N.PCViewCookiesText)):(v.removeChild(l),m(t).addClass("ot-hide-acc")),o[n].Description&&N.pcShowCookieHost||(i=t.querySelector(T.P_Host_Desc)).parentElement.removeChild(i),m(t.querySelector(T.P_Host_Opt)).html("");return h.addExternalIconForLinks(function(e){return t.querySelectorAll(e)}),null!=(a=o[n].Cookies)&&a.forEach(function(e){e=s.getCookieElement(e,o[n]);m(t.querySelector(T.P_Host_Opt)).append(e)}),r.append(t),e},o.prototype.hostsListEvent=function(){var e=m("#onetrust-pc-sdk "+T.P_Host_Cntr+" .ot-host-tgl input").el,t=m("#onetrust-pc-sdk #"+T.P_Sel_All_Host_El).el[0],o=m("#onetrust-pc-sdk #select-all-hosts-groups-handler").el[0],n=m("#onetrust-pc-sdk "+T.P_Cnsnt_Header).el[0];C.handleSelectAllChboxSelection(e,o,t),o&&n&&o.setAttribute(this.ARIA_LABEL_ATTRIBUTE,n.textContent+" "+N.PCenterSelectAllVendorsText)},o.prototype.loadHostList=function(e,t){var o={},n=[],n=w.showTrackingTech?(o=C.getAdditionalTechnologiesDataFromGroup(t),(w.currentTrackingTech=o).Cookies):C.getCombinedCookieList(t);w.currentGlobalFilteredList=n,this.initHostData({searchString:e,cookiesList:n,addTechData:o})},o.prototype.getCombinedCookieList=function(e){var t,o=[],n=[];return w.cookieListType!==ye.GenVen&&(n=(t=C.getFirstsAndThirdCookisFromGroups(e)).firstPartyCookiesList,o=t.thirdPartyCookiesList,n.length)&&o.unshift({HostName:N.PCFirstPartyCookieListText,DisplayName:N.PCFirstPartyCookieListText,HostId:this.FIRST_PARTY_COOKIES_GROUP_NAME,isFirstParty:!0,Cookies:n,Description:""}),w.showGeneralVendors?(n=this.getFilteredGenVendorsList(e,t=[]),U(o,this.mapGenVendorListToHostFormat(n,t))):o},o.prototype.mapGenVendorListToHostFormat=function(e,t){return void 0===t&&(t=[]),e.map(function(e){return{Cookies:e.Cookies,DisplayName:e.Name,HostName:e.Name,HostId:e.VendorCustomId,Description:e.Description,Type:he.GenVendor,PrivacyPolicy:e.PrivacyPolicyUrl,isActive:-1"+N.PCenterVendorListStorageIdentifier+"
"+(e.name||e.identifier)+"
";e.type&&(n+=""+N.PCenterVendorListStorageType+"
"+e.type+"
"),e.maxAgeSeconds&&(t=v.calculateCookieLifespan(e.maxAgeSeconds),n+=""+N.PCenterVendorListLifespan+"
"+t+"
"),e.domain&&(n+=""+N.PCenterVendorListStorageDomain+"
"+e.domain+"
"),e.purposes&&(n+=""+N.PCenterVendorListStoragePurposes+'
',e.purposes.forEach(function(e){e=null==(e=D.iabGroups.purposes[e])?void 0:e.name;e&&(n+='
'+e+"
")}),n+="
"),o.innerHTML=S.getInnerHtmlContent(n),r.insertAdjacentElement("beforeend",o)}),this.updateDomainsUsageInDisclosures(t,i,r))},o.prototype.getHeadingElement=function(e,t,o){var n;return null!=(n=k.moduleInitializer)&&n.SEOOptimization?''+e+"
":"'+e+""},o.prototype.updateDomainsUsageInDisclosures=function(e,n,r){var t;e.domains&&e.domains.length&&((t=n.cloneNode(!0)).innerHTML=S.getInnerHtmlContent(this.getHeadingElement(N.PCVLSDomainsUsed+": ","5")),r.insertAdjacentElement("beforeend",t),e.domains.forEach(function(e){var t,o=n.cloneNode(!0);e.domain&&(t=""+N.PCenterVendorListStorageDomain+"
"+e.domain+"
"),e.use&&(t+=""+N.PCVLSUse+"
"+e.use+"
"),o.innerHTML=S.getInnerHtmlContent(t),r.insertAdjacentElement("beforeend",o)}))},o.prototype.addDescriptionElement=function(e,t){var o=document.createElement("p");o.innerHTML=S.getInnerHtmlContent(t||""),e.parentNode.insertBefore(o,e)},o.prototype.setVdrConsentTglOrChbox=function(e,t,o,n,r,i){var s,a,l=w.vendorsSetting[e],t=t.cloneNode(!0);l.consent&&(t.classList.add(T.P_Ven_Ctgl),l=-1!==S.inArray(e+":true",w.vendors.selectedVendors),s=t.querySelector("input"),k.isV2Template&&(s.classList.add("vendor-checkbox-handler"),a=t.querySelector(this.LABEL_STATUS),N.PCShowConsentLabels?a.innerHTML=S.getInnerHtmlContent(l?N.PCActiveText:N.PCInactiveText):v.removeChild(a)),v.setCheckedAttribute("",s,l),v.setHtmlAttributes(s,{id:T.P_Vendor_CheckBx+"-"+i,vendorid:e,"aria-label":o}),t.querySelector("label").setAttribute("for",T.P_Vendor_CheckBx+"-"+i),t.querySelector(T.P_Label_Txt).textContent=o,D.pcName===at?N.PCTemplateUpgrade?n.insertAdjacentElement("beforeend",t):m(n).append(t):n.insertBefore(t,r))},o.prototype.setVndrLegIntTglTxt=function(e,t){e=e.querySelector(this.LABEL_STATUS);N.PCShowConsentLabels?e.innerHTML=S.getInnerHtmlContent(t?N.PCActiveText:N.PCInactiveText):v.removeChild(e)},o.prototype.setVdrLegIntTglOrChbx=function(t,e,o,n,r,i,s){var a,l=w.vendorsSetting[t],o=o.cloneNode(!0),c=null==(c=w.vendors.list.find(function(e){return e.vendorId===t}).legIntPurposes)?void 0:c.length;l.legInt&&!l.specialPurposesOnly&&c&&(c=-1!==S.inArray(t+":true",w.vendors.selectedLegIntVendors),D.legIntSettings.PShowLegIntBtn?(a=B.generateLegIntButtonElements(c,t,!0,n),e.querySelector(T.P_Acc_Txt).insertAdjacentHTML("beforeend",a),(a=e.querySelector(".ot-remove-objection-handler"))&&Rt(a,a.getAttribute("data-style"))):(a=o.querySelector("input"),k.isV2Template&&(a.classList.add("vendor-checkbox-handler"),this.setVndrLegIntTglTxt(o,c)),o.classList.add(T.P_Ven_Ltgl),a.classList.remove("vendor-checkbox-handler"),a.classList.add("vendor-leg-checkbox-handler"),v.setCheckedAttribute("",a,c),v.setHtmlAttributes(a,{id:T.P_Vendor_LegCheckBx+"-"+r,"leg-vendorid":t,"aria-label":n}),o.querySelector("label").setAttribute("for",T.P_Vendor_LegCheckBx+"-"+r),o.querySelector(T.P_Label_Txt).textContent=n,e.querySelector("."+T.P_Ven_Ctgl)&&(i=e.querySelector("."+T.P_Ven_Ctgl)),D.pcName!==at||s.children.length?s.insertBefore(o,i):m(s).append(o),l.consent||D.pcName!==at||o.classList.add(T.P_Ven_Ltgl_Only)))},o.prototype.setVndrSplPurSection=function(e,t){var o=this,n=e.querySelector(".spl-purpose"),e=e.querySelector(".spl-purpose-grp"),r=e.cloneNode(!0);e.parentElement.removeChild(e),D.isIab2orv2Template&&t.specialPurposes.forEach(function(e){m(r.querySelector(o.CONSENT_CATEGORY)).text(e.purposeName),n.insertAdjacentHTML("afterend",S.getInnerHtmlContent(r.outerHTML))}),0===t.specialPurposes.length?n.parentElement.removeChild(n):m(n.querySelector("p")).text(N.SpecialPurposesText)},o.prototype.setVndrFtSection=function(e,t){var o=this,n=e.querySelector(".vendor-feature"),e=e.querySelector(".vendor-feature-group"),r=e.cloneNode(!0);e.parentElement.removeChild(e),m(n.querySelector("p")).text(N.FeaturesText),t.features.forEach(function(e){m(r.querySelector(o.CONSENT_CATEGORY)).text(e.featureName),n.insertAdjacentHTML("afterend",S.getInnerHtmlContent(r.outerHTML))}),0===t.features.length&&n.parentElement.removeChild(n)},o.prototype.setVndrSplFtSection=function(e,t){var o=this,n=e.querySelector(".vendor-spl-feature"),e=e.querySelector(".vendor-spl-feature-grp"),r=e.cloneNode(!0);n.parentElement.removeChild(e),D.isIab2orv2Template&&t.specialFeatures.forEach(function(e){m(r.querySelector(o.CONSENT_CATEGORY)).text(e.featureName),n.insertAdjacentHTML("afterend",S.getInnerHtmlContent(r.outerHTML))}),0===t.specialFeatures.length?n.parentElement.removeChild(n):m(n.querySelector("p")).text(N.SpecialFeaturesText)},o.prototype.setVndrAccTxt=function(e,t){t=t.querySelector(T.P_Acc_Txt);t&&v.setHtmlAttributes(t,{id:"IAB-ACC-TXT"+e,"aria-labelledby":"IAB-ACC-TXT"+e,role:"region"})},o.prototype.setVndrDisclosure=function(e,t,o){t.deviceStorageDisclosureUrl&&(v.setHtmlAttributes(o,{"disc-vid":e}),w.discVendors[e]={isFetched:!1,disclosureUrl:t.deviceStorageDisclosureUrl})},o.prototype.setVndrListSelectAllChkBoxs=function(){var e=m("#onetrust-pc-sdk "+T.P_Sel_All_Vendor_Consent_Handler).el[0],e=(e&&e.setAttribute(this.ARIA_LABEL_ATTRIBUTE,N.PCenterSelectAllVendorsText+" "+N.LegitInterestText),m("#onetrust-pc-sdk "+T.P_Sel_All_Vendor_Leg_Handler).el[0]);e&&e.setAttribute(this.ARIA_LABEL_ATTRIBUTE,N.PCIABVendorsText+", "+N.PCenterSelectAllVendorsText)},o.prototype.setVndrConsentPurposes=function(e,t,o){var n=this,r=e.querySelector(".vendor-consent-group"),i=e.querySelector(".vendor-option-purpose"),s=r.cloneNode(!0),a=e.querySelector(".legitimate-interest"),l=!1;return r.parentElement.removeChild(r),t.consent&&(m(i.querySelector("p")).text(N.ConsentPurposesText),o.purposes.forEach(function(e){m(s.querySelector(n.CONSENT_CATEGORY)).text(e.purposeName);e=s.querySelector(".consent-status");e&&s.removeChild(e),a.insertAdjacentHTML("beforebegin",S.getInnerHtmlContent(s.outerHTML)),l=!0})),t.consent||i.parentElement.removeChild(i),l},o.prototype.getVndrTglCntr=function(e){return k.isV2Template?E.chkboxEl.cloneNode(!0):e.querySelector(".ot-checkbox")},o.prototype.attachVendorsToDOM=function(){for(var u,p,C=this,g=w.vendors.list,h=w.vendors.vendorTemplate.cloneNode(!0),y=(w.discVendors={},k.isV2Template&&(u=h.querySelector(".ot-ven-pur").cloneNode(!0),p=h.querySelector(T.P_Ven_Disc).cloneNode(!0),m(h.querySelector(".ot-ven-dets")).html("")),document.createDocumentFragment()),f=this,e=0;e{var t,o,n=h.cloneNode(!0),r=g[e].vendorId,i=g[e].vendorName,s=n.querySelector("."+T.P_Ven_Bx),a=w.vendorsSetting[r],l=(v.setHtmlAttributes(s,{id:"IAB"+r,name:"IAB"+r,"aria-controls":"IAB-ACC-TXT"+r,"aria-label":i}),s.nextElementSibling.setAttribute("for","IAB"+r),n.querySelector(T.P_Ven_Name).innerText=i,f.updateIABLinksDOM(g[e],n),f.getVndrTglCntr(n)),c=n.querySelector(T.P_Tgl_Cntr),d=(k.isV2Template||l.parentElement.removeChild(l),n.querySelector(T.P_Arrw_Cntr));f.setVdrConsentTglOrChbox(r,l,i,c,d,e),f.setVdrLegIntTglOrChbx(r,n,l,i,e,d,c),k.isV2Template&&(c.insertAdjacentElement("beforeend",E.arrowEl.cloneNode(!0)),N.PCAccordionStyle!==ce.Caret)&&n.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",E.plusMinusEl.cloneNode(!0)),f.setVndrAccTxt(r,n),f.setVndrDisclosure(r,g[e],s),k.isV2Template?f.populateVendorDetailsHtml(n,u,g[e],p):(t=n.querySelector(".legitimate-interest"),l=n.querySelector(".legitimate-interest-group"),o=l.cloneNode(!0),p=n.querySelector(T.P_Ven_Disc),i=n.querySelector(T.P_Ven_Dets),d=p.cloneNode(!0),p.parentElement.removeChild(p),f.attachVendorDisclosure(d,g[e]),i.insertAdjacentElement("afterbegin",d),f.setVndrConsentPurposes(n,a,g[e]),c=o.querySelector(".vendor-opt-out-handler"),D.isIab2orv2Template&&c.parentElement.removeChild(c),l.parentElement.removeChild(l),a.legInt&&(m(t.querySelector("p")).text(N.LegitimateInterestPurposesText),D.legIntSettings.PAllowLI)&&D.isIab2orv2Template&&g[e].legIntPurposes.forEach(function(e){m(o.querySelector(C.CONSENT_CATEGORY)).text(e.purposeName),t.insertAdjacentHTML("afterend",S.getInnerHtmlContent(o.outerHTML))}),a.legInt||t.parentElement.removeChild(t),f.setVndrSplPurSection(n,g[e]),f.setVndrFtSection(n,g[e]),f.setVndrSplFtSection(n,g[e]),(r=s.parentElement.querySelector(".vendor-purposes p")).parentElement.removeChild(r)),y.appendChild(n),f.setVndrListSelectAllChkBoxs()})(e);document.querySelector("#onetrust-pc-sdk "+T.P_Vendor_Container).append(y)},o.prototype.updateIABLinksDOM=function(e,t){var o,n=e.vendorName,r=t.querySelector(T.P_Ven_Link),t=t.querySelector(T.P_Ven_Leg_Claim),i=D.isTcfV2Template?e.vendorPrivacyUrl:e.policyUrl,s=!1;N.BannerRequireExternalLinks&&(k.fp.CMPIconSprite&&N.OTExternalLinkLogo&&!N.BannerExternalLinksLogo?(s=!0,o=h.updateCorrectUrl(N.OTExternalLinkLogo),o=N.BannerExternalLinksLogo?h.updateCorrectUrl(N.BannerExternalLinksLogo):o,o=""):r.classList.add(this.EXT_LINK_CLASS)),v.setHtmlAttributes(r,{href:i,rel:this.TARGET_BLANK_REL_NOOPENER,target:"_blank"}),r.innerHTML=S.getInnerHtmlContent(N.PCenterViewPrivacyPolicyText+" "+n+" "+N.NewWinTxt+""),N.BannerRequireExternalLinks&&s&&(h.hasAdjacentExternalLinkSvg(r)||r.insertAdjacentHTML("afterend",S.getInnerHtmlContent(o))),D.isTcfV2Template&&e.legIntClaim&&0"+n+" "+N.NewWinTxt+""),N.BannerRequireExternalLinks&&(s?t.insertAdjacentHTML("afterend",S.getInnerHtmlContent(o)):t.classList.add(this.EXT_LINK_CLASS))):t.remove()},o.prototype.populateVendorDetailsHtml=function(e,o,t,n){function r(e,t,o,n,r){if(void 0===r&&(r=!1),t.length){for(var i=u.getHeadingElement(String(N[e]),"5")+"")}}var i,u=this,s=e.querySelector(".ot-ven-dets"),e=w.vendorsSetting[t.vendorId],p=function(e){var t=o.cloneNode(!0);t.innerHTML=S.getInnerHtmlContent(e),s.insertAdjacentElement("beforeend",t)},n=n.cloneNode(!0);this.attachVendorDisclosure(n,t),s.insertAdjacentElement("beforeend",n),D.isTcfV2Template&&null!=(n=t.dataDeclaration)&&n.length&&r("PCVListDataDeclarationText",t.dataDeclaration,function(e){return e.Name}),D.isTcfV2Template&&null!=(null==(n=t.dataRetention)?void 0:n.stdRetention)&&(i=1===(n=t.dataRetention.stdRetention)?N.PCenterVendorListLifespanDay:N.PCenterVendorListLifespanDays,n=this.getHeadingElement(N.PCVListDataRetentionText,"5")+(""+N.PCVListStdRetentionText)+" ("+n+" "+i+")
",p(n)),e.consent&&r("ConsentPurposesText",t.purposes,function(e){return e.purposeName},null==(i=t.dataRetention)?void 0:i.purposes,!0),e.legInt&&null!=(n=t.legIntPurposes)&&n.length&&r("LegitimateInterestPurposesText",t.legIntPurposes,function(e){return e.purposeName}),D.isIab2orv2Template&&null!=(i=t.specialPurposes)&&i.length&&r("SpecialPurposesText",t.specialPurposes,function(e){return e.purposeName},null==(e=t.dataRetention)?void 0:e.specialPurposes,!0),null!=(n=t.features)&&n.length&&r("FeaturesText",t.features,function(e){return e.featureName}),D.isIab2orv2Template&&null!=(i=t.specialFeatures)&&i.length&&r("SpecialFeaturesText",t.specialFeatures,function(e){return e.featureName})},o.prototype.InitializeVendorList=function(){var e;w.vendors.list=w.iabData?w.iabData.vendors:null,w.vendors.vendorTemplate=m(T.P_Vendor_Container+" li").el[0].cloneNode(!0),m("#onetrust-pc-sdk "+T.P_Vendor_Container).html(""),k.isV2Template||D.pcName!==at||(e=w.vendors.vendorTemplate.querySelectorAll(T.P_Acc_Header),(e=D.legIntSettings.PAllowLI&&D.isIab2orv2Template?e[0]:e[1]).parentElement.removeChild(e))},o.prototype.cancelVendorFilter=function(){for(var e=m("#onetrust-pc-sdk .category-filter-handler").el,t=0;t "+t.cookieMaxAge+"",t.usesNonCookieAccess&&(o+=""+N.PCenterVendorListNonCookieUsage+"
"),e.innerHTML=S.getInnerHtmlContent(o)},o.prototype.updateVendorFilterList=function(){for(var e=m("#onetrust-pc-sdk .category-filter-handler").el,t=0;t input",function(e){v.setCheckedAttribute(null,e.target,e.target.checked)}),this.showConsentHeader()},o.prototype.setupIABAccordion=function(e){var t=document.querySelector("#onetrust-pc-sdk .ot-sel-all-chkbox"),o=t.cloneNode(!0),t=(v.removeChild(o.querySelector("#ot-selall-hostcntr")),v.removeChild(t.querySelector("#ot-selall-vencntr")),v.removeChild(t.querySelector("#ot-selall-licntr")),E.accordionEl.cloneNode(!0));return t.classList.add("ot-iab-acc"),t.querySelector(C.ACC_HDR_CLASS).insertAdjacentElement("beforeEnd",e.cloneNode(!0)),t.querySelector(C.ACC_HDR_CLASS).insertAdjacentHTML("beforeEnd",S.getInnerHtmlContent(this.getHeadingElement(N.PCIABVendorsText,"4",this.VEN_TITLE_CLASS))),t.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",o),t.querySelector(this.ACC_TXT).insertAdjacentElement("beforeEnd",m("#ot-ven-lst").el[0]),m(this.LST_CNT_COLUMN_SELECTOR).append(t),t.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,N.PCIABVendorsText),this.iabAccInit=!0,o},o.prototype.setupGoogleVendorsAccordion=function(e,t){var t=t.cloneNode(!0),o=(v.removeChild(t.querySelector("#ot-selall-licntr")),t.querySelector(".ot-chkbox").id="ot-selall-adtlvencntr",t.querySelector("input").id="ot-selall-adtlven-handler",t.querySelector("label").setAttribute("for","ot-selall-adtlven-handler"),E.accordionEl.cloneNode(!0));return o.querySelector(C.ACC_HDR_CLASS).insertAdjacentElement("beforeEnd",e.cloneNode(!0)),o.querySelector(C.ACC_HDR_CLASS).insertAdjacentHTML("beforeEnd",S.getInnerHtmlContent(this.getHeadingElement(N.PCGoogleVendorsText,"4",this.VEN_TITLE_CLASS))),o.querySelector(C.ACC_HDR_CLASS).insertAdjacentElement("beforeEnd",t),o.querySelector(this.ACC_TXT).insertAdjacentHTML("beforeEnd",S.getInnerHtmlContent("")),o.classList.add("ot-adtlv-acc"),o.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,N.PCGoogleVendorsText),o.querySelector("#ot-selall-adtlven-handler").setAttribute(this.ARIA_LABEL_ATTRIBUTE,N.PCGoogleVendorsText+", "+N.PCenterSelectAllVendorsText),o},o.prototype.prepareVendorTemplate=function(){var e=w.vendors.vendorTemplate.cloneNode(!0);return e.querySelector("button").classList.remove("ot-ven-box"),e.querySelector("button").classList.add("ot-addtl-venbox"),v.removeChild(e.querySelector(this.ACC_TXT)),e},o.prototype.createAdditionalVendorItem=function(e,t,o){var e=e.cloneNode(!0),n=o.name;return e.querySelector(T.P_Ven_Name).innerText=n,v.setHtmlAttributes(e.querySelector("button"),{id:"Adtl-IAB"+t}),this.setupVendorPrivacyLink(e,o.policyUrl,n),this.setupVendorToggle(e,t,n),this.addVendorAccordionArrows(e),this.checkIfLegLinkRemove(e),e},o.prototype.setupVendorPrivacyLink=function(e,t,o){e=e.querySelector(T.P_Ven_Link);v.setHtmlAttributes(e,{href:t,rel:this.TARGET_BLANK_REL_NOOPENER,target:"_blank"}),e.innerHTML=S.getInnerHtmlContent(N.PCenterViewPrivacyPolicyText+" "+o+" "+N.NewWinTxt+""),N.BannerRequireExternalLinks&&this.addExternalLinkIcon(e)},o.prototype.addExternalLinkIcon=function(e){var t;k.fp.CMPIconSprite&&N.OTExternalLinkLogo&&!N.BannerExternalLinksLogo?h.hasAdjacentExternalLinkSvg(e)||(t=h.updateCorrectUrl(N.OTExternalLinkLogo),t=N.BannerExternalLinksLogo?h.updateCorrectUrl(N.BannerExternalLinksLogo):t,t=new URL(t,window.location.origin).pathname.split("/").pop().split(".").shift(),e.insertAdjacentHTML("afterend",S.getInnerHtmlContent(""))):e.classList.add(this.EXT_LINK_CLASS)},o.prototype.setupVendorToggle=function(e,t,o){var n=E.chkboxEl.cloneNode(!0),r=(n.classList.remove("ot-ven-ctgl"),n.classList.add("ot-ven-adtlctgl"),Boolean(w.addtlVendors.vendorSelected[t])),i=n.querySelector("input"),s=(i.classList.add("ot-addtlven-chkbox-handler"),n.querySelector(this.LABEL_STATUS)),s=(N.PCShowConsentLabels?s.innerHTML=S.getInnerHtmlContent(r?N.PCActiveText:N.PCInactiveText):v.removeChild(s),v.setCheckedAttribute("",i,r),v.setHtmlAttributes(i,{id:"ot-addtlven-chkbox-"+t,"addtl-vid":t,"aria-label":o}),n.querySelector("label").setAttribute("for","ot-addtlven-chkbox-"+t),n.querySelector(T.P_Label_Txt).textContent=o,e.querySelector(T.P_Tgl_Cntr));m(s).append(n)},o.prototype.addVendorAccordionArrows=function(e){e.querySelector(T.P_Tgl_Cntr).insertAdjacentElement("beforeend",E.arrowEl.cloneNode(!0)),N.PCAccordionStyle!==ce.Caret&&e.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",E.plusMinusEl.cloneNode(!0))},o.prototype.populateGeneralVendors=function(){var e,t,o,n,r,i=this,s=N.GeneralVendors,a=document.querySelector(".ot-gv-acc"),l=Boolean(a);s.length?(this.handleVendorsPresence(a),e=this.getArrowElement(),this.iabAccInit||this.addIabAccordion(),t=this.createSelectAllCheckbox(),o=this.createGeneralVendorsAccordion(e,t),n=this.createVendorTemplate(),l&&m(""+T.P_Gven_List).html(""),r=!0,s.forEach(function(e){var t=i.createVendorElement(e,n);m(l?""+T.P_Gven_List:o.querySelector(""+T.P_Gven_List)).append(t),vo.isGenVenPartOfAlwaysActiveGroup(e.VendorCustomId)||(r=!1)}),l||m(this.LST_CNT_COLUMN_SELECTOR).append(o),m("#onetrust-pc-sdk").on("click","#ot-pc-lst .ot-acc-cntr > input",function(e){return v.setCheckedAttribute(null,e.target,e.target.checked)}),this.showConsentHeader(),r&&v.setDisabledAttribute("#ot-selall-gnven-handler",null,!0)):this.handleNoVendors(a)},o.prototype.handleNoVendors=function(e){this.hasGenVendors=!1,e&&m(e).hide()},o.prototype.handleVendorsPresence=function(e){this.hasGenVendors=!0,e&&m(e).show()},o.prototype.getArrowElement=function(){return(N.PCAccordionStyle===ce.Caret?E.arrowEl:E.plusMinusEl).cloneNode(!0)},o.prototype.createSelectAllCheckbox=function(){var e=document.createElement("div"),t=(e.setAttribute("class","ot-sel-all-chkbox"),E.chkboxEl.cloneNode(!0));return t.id="ot-selall-gnvencntr",t.querySelector("input").id="ot-selall-gnven-handler",t.querySelector("label").setAttribute("for","ot-selall-gnven-handler"),m(e).append(t),e},o.prototype.createGeneralVendorsAccordion=function(e,t){var o=E.accordionEl.cloneNode(!0),n=o.querySelector(C.ACC_HDR_CLASS);return n.insertAdjacentElement("beforeend",e.cloneNode(!0)),n.insertAdjacentHTML("beforeend",S.getInnerHtmlContent(this.getHeadingElement(N.PCenterGeneralVendorsText,"4",this.VEN_TITLE_CLASS))),N.GenVenOptOut&&n.insertAdjacentElement("beforeend",t),o.querySelector(this.ACC_TXT).insertAdjacentHTML("beforeend",S.getInnerHtmlContent("")),o.classList.add("ot-gv-acc"),o.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,N.PCenterGeneralVendorsText),o},o.prototype.createVendorTemplate=function(){var e=w.vendors.vendorTemplate.cloneNode(!0),t=e.querySelector("button");return t.classList.remove("ot-ven-box"),t.classList.add("ot-gv-venbox"),m(e.querySelector(this.ACC_TXT)).html(''),e},o.prototype.createVendorElement=function(e,t){var o,n=this,r=this.mapGenVendorToHostFormat(e),i=t.cloneNode(!0),t=e.VendorCustomId,s=e.Name,a=(i.querySelector(T.P_Ven_Name).innerText=s,i.querySelector("button")),a=(v.setHtmlAttributes(a,{id:"Gn-"+t}),i.querySelector(T.P_Ven_Link));return e.PrivacyPolicyUrl?(v.setHtmlAttributes(a,{href:e.PrivacyPolicyUrl,rel:this.TARGET_BLANK_REL_NOOPENER,target:"_blank"}),a.innerHTML=S.getInnerHtmlContent(N.PCGVenPolicyTxt+" "+s+" "+N.NewWinTxt+""),N.BannerRequireExternalLinks&&(k.fp.CMPIconSprite&&N.OTExternalLinkLogo&&!N.BannerExternalLinksLogo?(o=h.updateCorrectUrl(N.OTExternalLinkLogo),o=N.BannerExternalLinksLogo?h.updateCorrectUrl(N.BannerExternalLinksLogo):o,o="",h.hasAdjacentExternalLinkSvg(a)||a.insertAdjacentHTML("afterend",S.getInnerHtmlContent(o))):a.classList.add(this.EXT_LINK_CLASS))):a.classList.add("ot-hide"),this.addDescriptionElement(a,e.Description),N.GenVenOptOut&&this.addConsentToggle(i,e,t,s,r),N.PCAccordionStyle!==ce.Caret&&i.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",E.plusMinusEl.cloneNode(!0)),e.Cookies.length||m(i).addClass("ot-hide-acc"),e.Cookies.forEach(function(e){e=n.getCookieElement(e,r);m(i.querySelector(".ot-host-opt")).append(e)}),this.checkIfLegLinkRemove(i),i},o.prototype.addConsentToggle=function(e,t,o,n,r){var i=E.chkboxEl.cloneNode(!0),s=(i.classList.remove("ot-ven-ctgl"),i.classList.add("ot-ven-gvctgl"),Boolean(w.genVendorsConsent[o])),a=i.querySelector("input"),l=(a.classList.add("ot-gnven-chkbox-handler"),i.querySelector(this.LABEL_STATUS)),l=(N.PCShowConsentLabels?l.innerHTML=S.getInnerHtmlContent(s?N.PCActiveText:N.PCInactiveText):v.removeChild(l),v.setCheckedAttribute("",a,s),v.setHtmlAttributes(a,{id:"ot-gnven-chkbox-"+o,"gn-vid":o,"aria-label":n}),vo.isGenVenPartOfAlwaysActiveGroup(o)&&v.setDisabledAttribute(null,a,!0),i.querySelector("label").setAttribute("for","ot-gnven-chkbox-"+o),i.querySelector(T.P_Label_Txt).textContent=n,e.querySelector(T.P_Tgl_Cntr));m(l).append(i),l.insertAdjacentElement("beforeend",E.arrowEl.cloneNode(!0))},o.prototype.addIabAccordion=function(){var e=(N.PCAccordionStyle===ce.Caret?E.arrowEl:E.plusMinusEl).cloneNode(!0),t=document.querySelector("#onetrust-pc-sdk .ot-sel-all-chkbox"),o=t.cloneNode(!0),t=(v.removeChild(o.querySelector("#ot-selall-hostcntr")),v.removeChild(t.querySelector("#ot-selall-vencntr")),v.removeChild(t.querySelector("#ot-selall-licntr")),E.accordionEl.cloneNode(!0));t.classList.add("ot-iab-acc"),t.querySelector(C.ACC_HDR_CLASS).insertAdjacentElement("beforeEnd",e.cloneNode(!0)),t.querySelector(C.ACC_HDR_CLASS).insertAdjacentHTML("beforeEnd",S.getInnerHtmlContent(this.getHeadingElement(N.PCIABVendorsText,"4",this.VEN_TITLE_CLASS))),t.querySelector(C.ACC_HDR_CLASS).insertAdjacentElement("beforeEnd",o),t.querySelector(this.ACC_TXT).insertAdjacentElement("beforeEnd",m("#ot-ven-lst").el[0]),m(this.LST_CNT_COLUMN_SELECTOR).append(t),t.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,N.PCIABVendorsText),this.iabAccInit=!0},o.prototype.showConsentHeader=function(){var e=D.legIntSettings;m("#onetrust-pc-sdk .ot-sel-all-hdr").show(),e.PAllowLI&&!e.PShowLegIntBtn||m("#onetrust-pc-sdk .ot-li-hdr").hide()},o.prototype.setBackBtnTxt=function(){(k.isV2Template?(m(T.P_Vendor_List+" .back-btn-handler").attr(this.ARIA_LABEL_ATTRIBUTE,N.PCenterBackText),m(T.P_Vendor_List+" .back-btn-handler title")):m(T.P_Vendor_List+" .back-btn-handler .pc-back-button-text")).html(N.PCenterBackText)},o.prototype.getCookieElement=function(e,t){var o=w.hosts.hostCookieTemplate.cloneNode(!0),n=o.querySelector("dl"),r=n.querySelector("div").cloneNode(!0),i=(r.classList.remove("cookie-name-container"),n.innerHTML=S.getInnerHtmlContent(""),e.Name),s=(N.AddLinksToCookiepedia&&t.isFirstParty&&(i=h.getCookieLabel(e,N.AddLinksToCookiepedia)),r.cloneNode(!0));return s.classList.add(T.P_c_Name),s.querySelector(this.NTH_CHILD_ONE_SELECTOR).innerHTML=S.getInnerHtmlContent(N.pcCListName),s.querySelector(this.NTH_CHILD_TWO_SELECTOR).innerHTML=S.getInnerHtmlContent(i),n.appendChild(s),N.pcShowCookieHost&&((s=r.cloneNode(!0)).classList.add(T.P_c_Host),s.querySelector(this.NTH_CHILD_ONE_SELECTOR).innerHTML=S.getInnerHtmlContent(N.pcCListHost),s.querySelector(this.NTH_CHILD_TWO_SELECTOR).innerHTML=S.getInnerHtmlContent(e.Host),n.appendChild(s)),N.pcShowCookieDuration&&((s=r.cloneNode(!0)).classList.add(T.P_c_Duration),s.querySelector(this.NTH_CHILD_ONE_SELECTOR).innerHTML=S.getInnerHtmlContent(N.pcCListDuration),s.querySelector(this.NTH_CHILD_TWO_SELECTOR).innerHTML=S.getInnerHtmlContent(e.IsSession?N.LifespanTypeText:h.getDuration(e)),n.appendChild(s)),N.pcShowCookieType&&(i=t.Type===he.GenVendor?!e.isThirdParty:t.isFirstParty,(s=r.cloneNode(!0)).classList.add(T.P_c_Type),s.querySelector(this.NTH_CHILD_ONE_SELECTOR).innerHTML=S.getInnerHtmlContent(N.pcCListType),s.querySelector(this.NTH_CHILD_TWO_SELECTOR).innerHTML=S.getInnerHtmlContent(i?N.firstPartyTxt:N.thirdPartyTxt),n.appendChild(s)),N.pcShowCookieCategory&&(i=void 0,i=t.Type===he.GenVendor?e.category:(t.isFirstParty?e:t).groupName)&&((s=r.cloneNode(!0)).classList.add(T.P_c_Category),s.querySelector(this.NTH_CHILD_ONE_SELECTOR).innerHTML=S.getInnerHtmlContent(N.pcCListCategory),s.querySelector(this.NTH_CHILD_TWO_SELECTOR).innerHTML=S.getInnerHtmlContent(i),n.appendChild(s)),N.pcShowCookieDescription&&e.description&&((s=r.cloneNode(!0)).classList.add(T.P_c_Desc),s.querySelector(this.NTH_CHILD_ONE_SELECTOR).innerHTML=S.getInnerHtmlContent(N.pcCListDescription),s.querySelector(this.NTH_CHILD_TWO_SELECTOR).innerHTML=S.getInnerHtmlContent(e.description),n.appendChild(s)),o},o.prototype.getNoResultsFound=function(e){e=w.showTrackingTech?N.PCTechNotFound:e?N.PCHostNotFound:N.PCVendorNotFound;return" "+e+"."},o.prototype.getAdditionalTechnologiesHtml=function(e){var t=document.createDocumentFragment(),o=N.AdditionalTechnologiesConfig,n=0')),r.cloneNode(!0)},o.prototype.setSessionLocalStorageTemplate=function(e,t,o){var n=w.hosts.hostTemplate.cloneNode(!0),r=(v.removeChild(n.querySelector(".ot-a scc-txt")),e.querySelector(this.ACC_TXT+" "+T.P_Host_Cntr));r.removeAttribute("style"),r.classList.add("ot-host-opt");for(var i=0,s=t;ig {\n fill: "+t.IconBgColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-sync #ot-sync-title {\n text-align: "+t.TitleAlign+";\n color: "+t.TitleColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-sync .ot-sync-desc {\n text-align: "+t.DescAlign+";\n color: "+t.DescColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-complete {\n background-color: "+o.BgColor+";\n border: 1px solid "+o.BdrColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy .ot-sync-check>g {\n fill: "+o.IconBgColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-complete #ot-sync-title {\n text-align: "+o.TitleAlign+";\n color: "+o.TitleColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-complete .ot-sync-desc {\n text-align: "+o.DescAlign+";\n color: "+o.DescColor+";\n }\n "+("BUTTON"===e.CSType?"\n #onetrust-consent-sdk #ot-sync-ntfy .ot-pc-handler {\n background-color: "+n.BgColor+";\n border: 1px solid "+n.BdrColor+";\n color: "+n.Color+";\n text-align: "+n.Align+";\n }":" #onetrust-consent-sdk #ot-sync-ntfy .ot-pc-handler.ot-pc-link {\n color: "+r.Color+";\n text-align: "+r.Align+";\n }")+"\n "},zn.prototype.initHtml=function(e,t,o,n){var r="Complete"===e?".ot-sync-refresh":".ot-sync-check";t.ShowIcon?(m(o("Sync"===e?".ot-sync-refresh":".ot-sync-check")).show(),m(o(r)).hide(),m(o(".ot-sync-icon")).show("inline-block"),n.classList.remove("ot-hide-icon")):(m(o(".ot-sync-icon")).hide(),n.classList.add("ot-hide-icon")),t.Title?m(o("#ot-sync-title")).html(t.Title):m(o("#ot-sync-title")).hide(),t.Desc?m(o(".ot-sync-desc")).html(t.Desc):m(o(".ot-sync-desc")).hide(),t.ShowClose?(m(o(".ot-sync-close-handler")).show("inline-block"),m(o(".ot-close-icon")).attr("aria-label",t.CloseAria),n.classList.remove("ot-hide-close")):(m(o(".ot-sync-close-handler")).hide(),n.classList.add("ot-hide-close"))},zn.prototype.close=function(){this.hideSyncNtfy(),h.resetFocusToBody()},zn.prototype.hideSyncNtfy=function(){N.NtfyConfig.ShowCS&&window.removeEventListener("resize",ln.resizeEvent),m("#ot-sync-ntfy").fadeOut(400)},zn.prototype.removeHtml=function(){var e=m(this.El).el;e&&v.removeChild(e)},zn.prototype.alignContent=function(){m(".ot-sync-btncntr").el[0].clientHeight>m(".ot-sync-titlecntr").el[0].clientHeight&&(m(".ot-sync-titlecntr").addClass("ot-pos-abs"),m(".ot-sync-btncntr").addClass("ot-pos-rel"))},zn.prototype.resizeEvent=function(){window.innerWidth<=896&&ln.alignContent()},zn);function zn(){this.El="#ot-sync-ntfy"}Jn.prototype.toggleVendorConsent=function(e,t){void 0===t&&(t=null),(e=(e=void 0===e?[]:e).length?e:p.oneTrustIABConsent.vendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=m(T.P_Vendor_Container+" ."+T.P_Ven_Ctgl+' [vendorid="'+t+'"]').el[0];t&&v.setCheckedAttribute("",t,"true"===e)});var o,n=m("#onetrust-pc-sdk #select-all-vendor-groups-handler").el[0];n&&(o=v.getActiveIdArray(v.distinctArray(e)),(t=null===t?o.length===e.length:t)||0===o.length?n.parentElement.classList.remove(qt.P_Line_Through):n.parentElement.classList.add(qt.P_Line_Through),v.setCheckedAttribute("",n,t))},Jn.prototype.toggleVendorLi=function(e,t){void 0===t&&(t=null),(e=(e=void 0===e?[]:e).length?e:p.oneTrustIABConsent.legIntVendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=m(T.P_Vendor_Container+" ."+T.P_Ven_Ltgl+' [leg-vendorid="'+t+'"]').el[0];t&&v.setCheckedAttribute("",t,"true"===e)});var o,n=m("#onetrust-pc-sdk #select-all-vendor-leg-handler").el[0];n&&(o=v.getActiveIdArray(v.distinctArray(e)),(t=null===t?o.length===e.length:t)||0===o.length?n.parentElement.classList.remove(qt.P_Line_Through):n.parentElement.classList.add(qt.P_Line_Through),v.setCheckedAttribute("",n,t))},Jn.prototype.updateVendorLegBtns=function(e){(e=(e=void 0===e?[]:e).length?e:p.oneTrustIABConsent.legIntVendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=m(T.P_Vendor_Container+' .ot-leg-btn-container[data-group-id="'+t+'"]').el[0];t&&y.updateLegIntBtnElement(t,"true"===e)})};var Wn,Yn=Jn;function Jn(){}function Xn(){return(!D.isIab2orv2Template&&N.PCTemplateUpgrade&&N.PCCategoryStyle===ve.Toggle?E.toggleEl:E.chkboxEl).cloneNode(!0)}Zn.prototype.setHtmlTemplate=function(e){O.setInternalData(),O.rootHtml=e,O.cloneHtmlElements()},Zn.prototype.getVendorListEle=function(e){var t=document.createDocumentFragment(),o=document.createElement("div"),n=(o.classList.add("ot-vs-list"),N.VendorServiceConfig.PCVSExpandGroup);return e.forEach(function(e,t){e=O.createVendor(e.groupRef,e,n,"ot-vs-lst-id-"+t);o.appendChild(e)}),t.appendChild(o),t},Zn.prototype.insertVendorServiceHtml=function(e,t){var o;O.checkIfIsInvalid(e,t)||(o=document.createDocumentFragment(),O.setVendorContainer(o,e),O.setVendorList(o,e),e.SubGroups&&0\n \n \n \n \n '+e.errorMessage+"\n \n
\n ",e=document.createElement("div");e.innerHTML=S.getInnerHtmlContent(t),e.classList.add("ot-signature-health-group"),this.setConsentIdInput(e),this.healthSignatureElement=e,this.parentElement.appendChild(e),this.addEventHandlers()},tr.prototype.resetHealthSignatureData=function(e){void 0===e&&(e=!1),D.requireSignatureEnabled&&(D.healthSignatureData="",D.healthSignatureGroup=null,e)&&I.writeCookieParam(P.OPTANON_CONSENT,A.HEALTH_SIGNATURE_AUTHORIZATION,"")},tr.prototype.setConsentIdInPC=function(){this.setConsentIdInput(null)},tr.prototype.setConsentIdInput=function(e){var t;this.healthSignatureGroup&&(I.readCookieParam(P.OPTANON_CONSENT,A.HEALTH_SIGNATURE_AUTHORIZATION)?(t=(e||document).querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR))&&(e="",y.isGroupActive(this.healthSignatureGroup)&&(e=I.readCookieParam(P.OPTANON_CONSENT,A.CONSENT_ID)),t.value=e):(t=document.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR))&&(t.value=""))},tr.prototype.showHealthSignatureModal=function(t){var o=this;Xo.hideConsentNoticeV2(),this.langJson=N,this.parentElement=document.querySelector(this.PARENT_SELECTOR),this.setMyHealthDataModal(function(e){o.setSignHealthDataIntoCookieGroup(e),t()},function(){y.toggleGrpStatus(o.healthSignatureGroup,!1),y.toggleGroupHtmlElement(o.healthSignatureGroup,o.healthSignatureGroup.CustomGroupId,!1),t()})},tr.prototype.setMyHealthDataModal=function(e,t){this.isModal=!0,this.rejectCallback=t,this.confirmCallback=e,this.configOptions={mainTitle:this.healthSignatureGroup.GroupName,description:this.healthSignatureGroup.GroupDescription,subtitle:this.langJson.PCRequireSignatureHeaderText,ariaLabel:this.langJson.PCRequireSignatureHeaderDesc,errorMessage:this.langJson.PCRequireSignatureHelpText,subDescription:this.langJson.PCRequireSignatureHeaderDesc,inputLabelText:this.langJson.PCRequireSignatureFieldLabel,rejectButtonText:this.langJson.PCRequireSignatureRejectBtnText,acceptButtonText:this.langJson.PCRequireSignatureConfirmBtnText};t=document.createDocumentFragment(),e=this.createModal(t);this.healthSignatureElement=this.createHealtSignatureForm(e),this.parentElement.appendChild(t),this.setFocusOnInput(),this.addEventHandlers(),this.genericModal.openModalHandler()},tr.prototype.setSignHealthDataIntoCookieGroup=function(e){e?(Br.setDataSubjectIdV2(e),D.healthSignatureData=e,y.toggleGrpStatus(this.healthSignatureGroup,!0)):(D.healthSignatureData="",y.toggleGrpStatus(this.healthSignatureGroup,!1)),I.writeCookieParam(P.OPTANON_CONSENT,A.HEALTH_SIGNATURE_AUTHORIZATION,e?"1":"")},tr.prototype.createModal=function(e){return this.genericModal=$n(this.MODAL_ID,this.parentElement),e.appendChild(this.genericModal.dialogLayerHtml),this.genericModal.modalHtml},tr.prototype.createHealtSignatureForm=function(e){t=this.configOptions,o=!0===(null==(o=k.moduleInitializer)?void 0:o.SEOOptimization);var t,o='\n
\n '+(o?''+t.subtitle+"
":''+t.subtitle+"
")+'\n '+t.subDescription+'
\n \n
\n '+(o?''+t.mainTitle+"
":''+t.mainTitle+"
")+'\n '+t.description+'
\n \n
\n
\n \n \n
\n
";return e.innerHTML=S.getInnerHtmlContent(o),this.setConsentIdInput(e),this.addStyles(),e.querySelector(".ot-signature-health")},tr.prototype.addEventHandlers=function(){this.isModal?(this.parentElement.querySelector(this.REJECT_SELECTOR).addEventListener("click",this.rejectListener.bind(this)),this.parentElement.querySelector(this.CONFIRM_SELECTOR).addEventListener("click",this.confirmListener.bind(this))):this.parentElement.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR).addEventListener("keyup",this.healthSignatureInputChanged.bind(this))},tr.prototype.removeModal=function(){this.removeEventHandlers(),this.genericModal.closeModalHandler()},tr.prototype.removeEventHandlers=function(){this.isModal?(this.parentElement.querySelector(this.REJECT_SELECTOR).removeEventListener("click",this.rejectListener),this.parentElement.querySelector(this.CONFIRM_SELECTOR).removeEventListener("click",this.confirmListener)):this.parentElement.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR).removeEventListener("keyup",this.healthSignatureInputChanged)},tr.prototype.rejectListener=function(){this.removeModal(),this.rejectCallback&&this.rejectCallback()},tr.prototype.confirmListener=function(){var e=this.healthSignatureElement.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR).value;e&&(this.removeModal(),this.confirmCallback(e))},tr.prototype.healthSignatureInputChanged=function(e){D.healthSignatureData=e.target.value},tr.prototype.setFocusOnInput=function(){this.healthSignatureElement.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR).focus()},tr.prototype.addStyles=function(){var e="",t=(e=(e=(e+=this.setParagraphStyles())+this.setAcceptButtonsStyles())+this.setRejectButtonsStyles(),document.getElementById("onetrust-style"));t.textContent=t.textContent+e},tr.prototype.setRejectButtonsStyles=function(){return"#onetrust-consent-sdk .ot-signature-health "+this.REJECT_SELECTOR+" {\n color: "+N.bannerMPButtonTextColor+";\n border-color: "+N.bannerMPButtonTextColor+";\n background-color: "+N.bannerMPButtonColor+";\n }"},tr.prototype.setAcceptButtonsStyles=function(){return"#onetrust-consent-sdk .ot-signature-health "+this.CONFIRM_SELECTOR+" {\n color: "+N.buttonTextColor+";\n border-color: "+N.buttonColor+";\n background-color: "+N.buttonColor+";\n }"},tr.prototype.setParagraphStyles=function(){return this.HEALTH_SIGNATURE_PARAGRAPH_SELECTOR+" {\n color: "+N.textColor+";\n }"},tr.prototype.getGroupToggleHtmlValue=function(){var e=this.healthSignatureGroup.CustomGroupId,e=document.querySelector("input#ot-group-id-"+e+", input#ot-bnr-hdr-id-"+e+", input#ot-bnr-grp-id-"+e);return!!e&&!0===e.checked};var er=tr;function tr(){this.MODAL_ID="healthSignatureDataModal",this.PARENT_SELECTOR="#onetrust-consent-sdk",this.REJECT_SELECTOR=".ot-signature-button.reject",this.CONFIRM_SELECTOR=".ot-signature-button.accept",this.HEALTH_SIGNATURE_INPUT_SELECTOR="#otHealthSignatureData",this.HEALTH_SIGNATURE_PARAGRAPH_SELECTOR="p.ot-signature-paragraph"}function or(t,e){var o=[""];e&&(o.push("domain="+e+";"),e.startsWith(".")||o.push("domain=."+e+";")),o.forEach(function(e){e=t+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"+(e?" "+e:"");document.cookie=e,document.cookie=e+" SameSite=None; Secure;"})}function nr(e,t){var o;null!=(o=null==(o=k)?void 0:o.fp)&&o.CmpOptOutCookieDeletion&&0!==(o=e.filter(function(e){return!t.includes(e)})).length&&o.forEach(function(e){e=L.getGroupById(e);e&&e.FirstPartyCookies&&e.FirstPartyCookies.filter(function(e){return!e.isThirdParty}).forEach(function(e){var t,o,n;e.patternKey?(t=e.patternKey,o=e.Host,n=new RegExp(t),document.cookie.split(";").forEach(function(e){e=e.split("=")[0].trim();e&&n.test(e)&&or(e,o)})):or(e.Name,e.Host)})})}function rr(e){return e?e.split(",").filter(function(e){return 0{for(var o=L.getGroupById(e),n=s.groupsClass.getAllGroupElements(),r=0;r div[role="dialog"]')).css("height: 100%;"),m(n(qo+' > div[role="dialog"]')).attr(this._ariaLabel,N.MainText),D.pcName===at&&(null!=(e=m(n(T.P_Title)))&&e.attr("title",N.MainText),m(n(T.P_Privacy_Txt)).html(N.AboutCookiesText),m(n(T.P_Privacy_Hdr)).html(N.AboutCookiesText),null!=(e=m(n("#onetrust-pc-sdk "+T.P_Content+" .ot-tab-list")))&&e.attr(this._ariaLabel,N.PCenterCookieCategoriesAriaLabel),_.updateTitleForMobileView(n)),e=''+D.tcf2ActiveVendors.all.toString()+"",e=h.replaceTextFromString("[VENDOR_NUMBER]",N.MainInfoText,e),m(n(T.P_Policy_Txt)).html(e),_.configureLinkFields(n,o),_.configureSubjectDataFields(n),_.configureButtons(n,o),_.setManagePreferenceText(n),_.initializePreferenceCenterGroups(n,t),_.removeListsWhenAppropriate(n),h.addExternalIconForLinks(o),N.PCTemplateUpgrade)&&_.setOptOutSignalNotification(n),document.createElement("iframe")),o=(e.setAttribute("class","ot-text-resize"),e.setAttribute("sandbox","allow-same-origin"),e.setAttribute("title","onetrust-text-resize"),Rt(e,"position: absolute; top: -50000px; width: 100em;"),e.setAttribute(this._ariaHidden,"true"),m(t.querySelector("#onetrust-pc-sdk")).append(e),h.replaceHeadings(t),document.getElementById("onetrust-consent-sdk")),n=(m(o).append(t),D.ignoreInjectingHtmlCss||m(document.body).append(o),(N.showCookieList||w.showGeneralVendors)&&nn.InitializeHostList(),T.P_Vendor_List+" "+T.P_Host_Cntr+" li"),e=m(n).el[0];e&&v.removeChild(e)},n.prototype.updateTitleForMobileView=function(e){function t(){var e=window.getComputedStyle(o.el).display;o.attr(_._ariaHidden,"none"!==e?"false":"true"),n.attr(_._ariaHidden,"none"!==e?"true":"false")}var o=m(e(T.P_Title_Mobile)),n=m(e(T.P_Title));o.html(N.MainText),setTimeout(t),m(window).on("resize",t)},n.prototype.addClassesPerConfig=function(e){/Chrome|Safari/i.test(navigator.userAgent)&&/Google Inc|Apple Computer/i.test(navigator.vendor)||m(e).addClass("ot-sdk-not-webkit"),N.useRTL&&m(e).attr("dir","rtl"),D.legIntSettings.PAllowLI&&D.isIab2orv2Template&&(m(e).addClass("ot-leg-opt-out"),D.legIntSettings.PShowLegIntBtn)&&m(e).addClass("ot-leg-btn"),N.BannerRelativeFontSizesToggle&&m(e).addClass("otRelFont"),N.PCShowConsentLabels&&m(e).addClass("ot-tgl-with-label"),(N.UseGoogleVendors||w.showGeneralVendors)&&m(e).addClass("ot-addtl-vendors"),"right"===N.PreferenceCenterPosition&&m(e).addClass(N.useRTL?"right-rtl":"right")},n.prototype.manageCloseButtons=function(e,t,o){var n=m(t(T.P_Close_Btn)).el;if(N.ShowPreferenceCenterCloseButton){N.CloseText||(N.CloseText="Close Preference Center");for(var r=0,i=n;r",n.querySelector("use").setAttribute("href","#"+r),N.PCLogoAria&&m(i).attr(this._ariaLabel,N.PCLogoAria),i.setAttribute("role","img"),i.append(n)):((r=document.createElement("img")).setAttribute("alt",N.PCLogoAria),r.setAttribute("src",o),i.append(r))),D.isShopify?h.removeFooterLogo(e(".ot-pc-footer-logo")):h.insertFooterLogo(t(".ot-pc-footer-logo a"))},n.prototype.configureLinkFields=function(e,t){var o;N.AboutText&&m(e(T.P_Policy_Txt)).html(m(e(T.P_Policy_Txt)).html()+'\n
'+N.AboutText+""),N.PCenterImprintLinkText&&(N.AboutText||e(T.P_Policy_Txt).insertAdjacentHTML("beforeend",S.getInnerHtmlContent("
")),(o=document.createElement("a")).classList.add("ot-link-btn","ot-imprint-handler"),o.textContent=N.PCenterImprintLinkText,o.setAttribute(this._ariaLabel,N.PCenterImprintLinkScreenReader),o.setAttribute("href",N.PCenterImprintLinkUrl),o.setAttribute("rel","noopener noreferrer"),o.setAttribute("target","_blank"),e(T.P_Policy_Txt).appendChild(o)),N.PCenterVendorListLinkText&&(o=!N.IsIabEnabled&&w.showGeneralVendors?"ot-gv-list-handler":"onetrust-vendors-list-handler",e(T.P_Policy_Txt).insertAdjacentHTML("beforeend",S.getInnerHtmlContent('")))},n.prototype.configureSubjectDataFields=function(e){var t;N.PCTemplateUpgrade&&N.PCenterUserIdTitleText&&N.IsConsentLoggingEnabled&&(t=I.readCookieParam(P.OPTANON_CONSENT,A.CONSENT_ID),e(T.P_Policy_Txt).insertAdjacentHTML("beforeend",S.getInnerHtmlContent(''+N.PCenterUserIdTitleText+": "+t+"
")),N.PCenterUserIdDescriptionText&&e(T.P_Policy_Txt).insertAdjacentHTML("beforeend",S.getInnerHtmlContent(''+N.PCenterUserIdDescriptionText+"
")),N.PCenterUserIdTimestampTitleText)&&(t=(t=I.getCookie(P.ALERT_BOX_CLOSED))&&h.getUTCFormattedDate(t)||N.PCenterUserIdNotYetConsentedText,e(T.P_Policy_Txt).insertAdjacentHTML("beforeend",S.getInnerHtmlContent(''+N.PCenterUserIdTimestampTitleText+": "+t+"
")))},n.prototype.setManagePreferenceText=function(e){var e=e(T.P_Manage_Cookies_Txt),t=m(e);e&&(t.html(N.ManagePreferenceText),N.ManagePreferenceText||v.removeChild(t.el))},n.prototype.configureButtons=function(e,t){this.setButtonsOrder(e),N.ConfirmText.trim()?m(e(Wo)).html(N.ConfirmText):e(Wo).parentElement.removeChild(e(Wo));for(var o=t(".save-preference-btn-handler"),n=0;nh3,.category-menu-switch-handler>p[aria-level="3"],.category-menu-switch-handler>span[id^="ot-header-id"],.category-menu-switch-handler>span[id="ot-pvcy-txt"],.category-menu-switch-handler>span[id="privacy-text"]');m(r).html(t),m(r).attr("id",o),D.pcName===at&&(e.querySelector(T.P_Category_Header).innerHTML=S.getInnerHtmlContent(t),e.querySelector(""+T.P_Desc_Container).setAttribute("id",n),e.querySelector(".category-menu-switch-handler").setAttribute("aria-controls",n))},n.prototype.setLegIntButton=function(e,t,o,n){void 0===o&&(o=!1);var r=!0,r=(-1 '+T.P_Arrw_Cntr)).el.cloneNode(!0),E.subGrpEl=m(e(T.P_Sub_Grp_Cntr)).el.cloneNode(!0),E.vListEl=m(e(T.P_Ven_Lst_Cntr)).el.cloneNode(!0),E.cListEl=m(e(T.P_Host_Lst_cntr)).el.cloneNode(!0),E.chkboxEl=m(e(T.P_CBx_Cntr)).el.cloneNode(!0),E.accordionEl=m(e(".ot-acc-cntr")).el.cloneNode(!0),o.test(D.pcName)&&(E.plusMinusEl=m(e(".ot-plus-minus")).el.cloneNode(!0)),v.removeChild(e(".ot-tgl")),v.removeChild(e('#onetrust-pc-sdk [role="dialog"] > '+T.P_Arrw_Cntr)),v.removeChild(e(T.P_Sub_Grp_Cntr)),v.removeChild(e(T.P_Ven_Lst_Cntr)),v.removeChild(e(T.P_Host_Lst_cntr)),v.removeChild(e(T.P_CBx_Cntr)),v.removeChild(e(".ot-acc-cntr")),o.test(D.pcName)&&v.removeChild(e(".ot-plus-minus"))},n.prototype.insertSelectAllEls=function(e){var e=e(T.P_Select_Cntr+" .ot-sel-all-chkbox"),t=w.showVendorService?Xn():E.chkboxEl.cloneNode(!0),t=(t.id=T.P_Sel_All_Host_El,t.querySelector("input").id="select-all-hosts-groups-handler",t.querySelector("label").setAttribute("for","select-all-hosts-groups-handler"),m(e).append(t),w.showVendorService?Xn():E.chkboxEl.cloneNode(!0)),t=(t.id=T.P_Sel_All_Vendor_Consent_El,t.querySelector("input").id="select-all-vendor-groups-handler",t.querySelector("label").setAttribute("for","select-all-vendor-groups-handler"),m(e).append(t),w.showVendorService?Xn():E.chkboxEl.cloneNode(!0));t.id=T.P_Sel_All_Vendor_Leg_El,t.querySelector("input").id="select-all-vendor-leg-handler",t.querySelector("label").setAttribute("for","select-all-vendor-leg-handler"),m(e).append(t)},n.prototype.initializePreferenceCenterGroups=function(e,t){var o,n=D.pcName,r=(k.isV2Template&&(_.cloneOtHtmlEls(e),(r=E.chkboxEl.cloneNode(!0)).querySelector("input").classList.add("category-filter-handler"),m(e(T.P_Fltr_Modal+" "+T.P_Fltr_Option)).append(r),_.insertSelectAllEls(e)),m(e("#onetrust-pc-sdk "+T.P_Category_Grp))),i=(n===nt||n===it||n===rt?N.PCenterEnableAccordion?v.removeChild(r.el.querySelector(T.P_Category_Item+":not(.ot-accordion-layout)")):v.removeChild(r.el.querySelector(T.P_Category_Item+".ot-accordion-layout")):n===at&&(N.PCenterEnableAccordion=!1),e("#onetrust-pc-sdk "+T.P_Category_Item)),s=k.isV2Template?E.subGrpEl.cloneNode(!0):m(e(T.P_Sub_Grp_Cntr)),a=k.isV2Template?null:m(e(T.P_Acc_Container+" "+T.P_Sub_Grp_Cntr));N.PCTemplateUpgrade&&/otPcTab/.test(n)&&(o=e(".ot-abt-tab").cloneNode(!0),v.removeChild(e(".ot-abt-tab"))),r.el.removeChild(i),_.setVendorListClass(e,i),_.setPCHeader(e,i),_.createHtmlForEachGroup({fm:e,fragment:t,categoryGroupTemplate:i,cookiePreferencesContainer:r,popupSubGrpContainer:a,subGrpContainer:s}),_.setPcTabLayout(e,t,o)},n.prototype.getActiveVendorCount=function(e){var t=parseInt(e.IabGrpId),o=0;return e.Type===b.GroupTypes.Pur?o=D.tcf2ActiveVendors.pur.get(t):e.Type===b.GroupTypes.Ft?o=D.tcf2ActiveVendors.ft.get(t):e.Type===b.GroupTypes.Spl_Pur?o=D.tcf2ActiveVendors.spl_pur.get(t):e.Type===b.GroupTypes.Spl_Ft&&(o=D.tcf2ActiveVendors.spl_ft.get(t)),o||0},n.prototype.getActiveVendorCountForStack=function(e){return D.tcf2ActiveVendors.stack.get(e)||0},n.prototype.getVendorCountEl=function(e,t){var o="[VENDOR_NUMBER]",n="";switch(t){case _t:n=N.PCVendorsCountFeatureText;break;case Dt:n=N.PCVendorsCountSpcFeatureText;break;case Ot:n=N.PCVendorsCountSpcPurposeText;break;default:n=N.PCVendorsCountText}return n&&-1 '+n.replace(o,e.toString())+" ":""},n.prototype.createHtmlForEachGroup=function(e){var t=e.fm,o=e.fragment,n=e.categoryGroupTemplate,r=e.cookiePreferencesContainer,i=e.popupSubGrpContainer,s=e.subGrpContainer,e=N.Groups.filter(function(e){return e.Order});N.PCTemplateUpgrade&&(w.showVendorService?O.setHtmlTemplate(t('#onetrust-pc-sdk div[role="dialog"]')):O.removeVSUITemplate(t('#onetrust-pc-sdk div[role="dialog"]')));for(var a=0,l=e;a | "+o.PCVendorFullLegalText+' \n '+N.NewWinTxt+"")))},n.prototype.setHostListBtn=function(e,t,o,n){var r,i=D.pcName,s=!1,a=(N.showCookieList&&(s=-1h4, .cookie-subgroup>h5,\n .cookie-subgroup>h6, .ot-subgrp>h4,\n .ot-subgrp>h5, .ot-subgrp>h6, .cookie-subgroup>p[aria-level="4"], .cookie-subgroup>p[aria-level="5"],\n .cookie-subgroup>p[aria-level="6"], .ot-subgrp>p[aria-level="4"],\n .ot-subgrp>p[aria-level="5"], .ot-subgrp>p[aria-level="6"]'),g=c.querySelector(T.P_Tgl_Cntr),d=(c.setAttribute("data-optanongroupid",d),k.isV2Template?((t=_.getInputEle()).querySelector("input").setAttribute("data-optanongroupid",d),t.querySelector("input").classList.add("cookie-subgroup-handler"),t=t.cloneNode(!0),g.insertAdjacentElement("beforeend",t)):(t=c.querySelector(".ot-toggle")).querySelector("input").setAttribute("data-optanongroupid",d),m(i.querySelector(T.P_Subgp_ul)).html(""),_.addSubgroupName(n,C),_.setDataIfVendorServiceEnabled(C,c,t),t.querySelector("input").setAttribute("id",u),t.querySelector("input").setAttribute(this._ariaLabel,n.GroupName),t.querySelector("label").setAttribute("for",u),_.setSubGroupDescription({json:e,group:o,subgroup:n,subGroupClone:c}),D.isTcfV2Template&&Cr.addIllustrationsLink(c,n,o.ShowVendorList,!0),U(Bt,wt));o.ShowSubgroupToggle&&-1"+(o?N.AlwaysInactiveText:N.AlwaysActiveText)+"","ce").el):(r="ot-status-id-"+(r=null==(n=r=(t=e.querySelector(T.P_Category_Header)).id)?void 0:n.split("-")[3]),!k.isV2Template&&N.PCenterEnableAccordion&&(r="ot-status-id-"+(r=null==(n=r=(t=e.querySelector(T.P_Arrw_Cntr)).id)?void 0:n.split("-")[3])),m(t).el.insertAdjacentElement("afterend",m('"+(o?N.AlwaysInactiveText:N.AlwaysActiveText)+"
","ce").el)),N.PCenterEnableAccordion?(n=e.querySelector(T.P_Acc_Header))&&n.classList.add("ot-always-active-group"):((t=e.querySelector(""+T.P_Desc_Container))&&t.classList.add("ot-always-active-group"),e.classList.add("ot-always-active-group"))},n.prototype.setPcTabLayout=function(e,t,o){var n,r=e(".ot-tab-desc");"otPcTab"===D.pcName&&(o&&e("#onetrust-pc-sdk "+T.P_Category_Grp).insertAdjacentElement("afterbegin",o),r&&640\n '+N.BannerIABPartnersLink+"\n "),o},mr.prototype.setBannerData=function(e){var t;N.BannerTitle?(m(e("#onetrust-policy-title")).html(N.BannerTitle),m(e('[role="dialog"]')).attr(vt,N.BannerTitle)):(v.removeChild(e("#onetrust-policy-title")),m(e("#onetrust-banner-sdk")).addClass("ot-wo-title"),m(e('[role="dialog"]')).attr(vt,N.AriaPrivacy)),!N.IsIabEnabled&&p.showGeneralVendors&&N.BannerNonIABVendorListText&&((t=document.createElement("div")).setAttribute("id","ot-gv-link-ctnr"),m(t).html(''+N.BannerNonIABVendorListText+""),m(e("#onetrust-policy")).el.appendChild(t)),m(e(fr.POLICY_TEXT_SELECTOR)).html(N.AlertNoticeText),this.setBannerLinkAttributes(e)},mr.prototype.setBannerLinkAttributes=function(e){var t,o;m(e(this.cookiePolicyLinkSelector)).length&&(t=m(e(fr.POLICY_TEXT_SELECTOR+" .ot-cookie-policy-link")),e=m(e(fr.POLICY_TEXT_SELECTOR+" .ot-imprint-link")),o="noopener noreferrer",N.BShowPolicyLink&&t&&(t.attr(vt,N.BCookiePolicyLinkScreenReader),t.attr("rel",o),t.attr("target","_blank")),N.BShowImprintLink)&&e&&(e.attr(vt,N.BImprintLinkScreenReader),e.attr("rel",o),e.attr("target","_blank"))},mr.prototype.isCmpEnabled=function(){return N.BannerPurposeTitle||N.BannerPurposeDescription||N.BannerFeatureTitle||N.BannerFeatureDescription||N.BannerInformationTitle||N.BannerInformationDescription},mr.prototype.ssrAndNonSSRCommonHtml=function(t){function e(e){return t.querySelector(e)}function o(e){return t.querySelectorAll(e)}var n,r,i,s=this,a=this.isCmpEnabled(),l=(this.setOptOutSignalNotification(e),"[VENDOR_NUMBER]"),c=e(fr.POLICY_TEXT_SELECTOR),d=m(c).html(),l=(D.isIab2orv2Template&&-1'+D.tcf2ActiveVendors.all.toString()+"",r=".ot-cookie-policy-link, .ot-imprint-link",i=[],c&&c.querySelectorAll(r).forEach(function(e){i.push(e.innerHTML)}),d=h.replaceTextFromString(l,d,n),m(c).html(d),c)&&i.length&&c.querySelectorAll(r).forEach(function(e,t){t"+(c?N.AlwaysInactiveText:N.AlwaysActiveText)+"","ce").el)):e.setAttribute("aria-disabled","true")),e.classList.add("category-switch-handler"),y.setInputID(e,i,r,a,s),t.querySelector('h4, p[aria-level="4"]'));m(l).html(n),m(l).attr("id",s),m(u).append(t)})},mr.prototype.setBannerLogo=function(e,t){var o,n;k.fp.CookieV2BannerLogo&&N.BnrLogo&&(o=t(Uo),n="afterend",D.bannerName===$e&&(o=t("#onetrust-cookie-btn"),n="beforeend"),t=h.updateCorrectUrl(N.BnrLogo),m(e).addClass("ot-bnr-w-logo"),m(o).el.innerHTML=S.getInnerHtmlContent(""),o.insertAdjacentHTML(n,S.getInnerHtmlContent("
")))},mr.prototype.setOptOutSignalNotification=function(e){var t=D.gpcEnabled&&D.gpcForAGrpEnabled;N.BShowOptOutSignal&&(t||D.previewMode)&&(h.createOptOutSignalElement(e,!1),h.applyOptOutSignalA11y(!1,e))};var fr,Sr=mr;function mr(){this.POLICY_TEXT_SELECTOR="#onetrust-policy-text",this.El="#onetrust-banner-sdk",this._saveBtn=null,this._settingsBtn=null,this._acceptBtn=null,this._rejectBtn=null,this._descriptCntr=null,this._btnsCntr=null,this._fourBtns=!1,this._isValidButtonOrderConfig=!0,this._bannerOptionsSelector="#banner-options",this._btnGrpParentSelector="#onetrust-button-group-parent",this._otGrpContainerSelector="#onetrust-group-container",this.cookiePolicyLinkSelector="#onetrust-policy-text a"}Ar.prototype.setHeaderConfig=function(){vr.setHeader(),vr.setSearchInput(),vr.setHeaderUIConsent();var e=vr.getGroupsForFilter();ar.setFilterListByGroup(e,!1)},Ar.prototype.filterVendorByString=function(e){vr.searchQuery=e,vr.filterVendorByGroupOrQuery()},Ar.prototype.filterVendorByGroup=function(e){vr.filterGroups=e,vr.filterVendorByGroupOrQuery()},Ar.prototype.showVSList=function(){vr.removeListeners(),vr.showEmptyResults(!1,""),vr.clearUIElementsInMain(),vr.addVSList(p.getVendorsInDomain())},Ar.prototype.showEmptyResults=function(e,t){e?this.setNoResultsContent(t):(m("#onetrust-pc-sdk "+T.P_Vendor_Content).removeClass("no-results"),(e=m("#onetrust-pc-sdk #no-results")).length&&e.remove())},Ar.prototype.setNoResultsContent=function(e){var t,o,n,r,i=m("#onetrust-pc-sdk #no-results").el[0];if(!i)return t=document.createElement("div"),o=document.createElement("p"),n=document.createTextNode(" "+N.PCVendorNotFound+"."),r=document.createElement("span"),t.id="no-results",t.setAttribute("aria-live","assertive"),t.setAttribute("aria-atomic","true"),r.id="user-text",r.innerText=e,o.appendChild(r),o.appendChild(n),t.appendChild(o),m("#onetrust-pc-sdk "+T.P_Vendor_Content).addClass("no-results"),m("#vendor-search-handler").el[0].setAttribute("aria-describedby",t.id),m("#onetrust-pc-sdk "+T.P_Vendor_Content).append(t);i.querySelector("span").innerText=e},Ar.prototype.getGroupsFilter=function(){for(var e=[],t=0,o=m("#onetrust-pc-sdk .category-filter-handler").el;t input:first-child,"+T.P_Category_Item+" > button:first-child",u.onCategoryItemToggle.bind(this)),(N.showCookieList||w.showGeneralVendors)&&(m("#onetrust-pc-sdk .category-host-list-handler").on("click",function(e){setTimeout(function(){w.showGeneralVendors&&N.showCookieList?w.cookieListType=ye.HostAndGenVen:w.showGeneralVendors?w.cookieListType=ye.GenVen:w.cookieListType=ye.Host,u.pcLinkSource=e.target,u.loadCookieList(e.target)},0)}),h.isOptOutEnabled()?(m("#onetrust-pc-sdk #select-all-hosts-groups-handler").on("click",u.selectAllHostsGroupsHandler),m("#onetrust-pc-sdk "+T.P_Host_Cntr).on("click",u.selectHostsGroupHandler)):m("#onetrust-pc-sdk "+T.P_Host_Cntr).on("click",u.toggleAccordionStatus)),u.addListenerWhenIabEnabled(),u.addEventListenerWhenIsHostOrVendorsAreEnabled(),u.adddListenerWhenNoBanner(),m("#onetrust-pc-sdk .ot-gv-list-handler").on("click",function(t){return F(e,void 0,void 0,function(){return M(this,function(e){return w.cookieListType=ye.GenVen,u.loadCookieList(t.target),[2]})})}),u.addListenerWhenVendorServices(),u.addEventListnerForVendorsList()},r.prototype.addEventListenerWhenIsHostOrVendorsAreEnabled=function(){(N.IsIabEnabled||N.showCookieList||w.showGeneralVendors||w.showVendorService)&&(m(document).on("click",".back-btn-handler",u.backBtnHandler),u.addListenerSearchKeyEvent(),m(this.FILTER_BTN_SELECTOR).on("click",u.toggleVendorFiltersHandler),u.setFilterButtonExpanded(!1),m("#onetrust-pc-sdk #filter-apply-handler").on("click",function(){setTimeout(function(){u.applyFilterHandler()},0)}),m("#onetrust-pc-sdk "+T.P_Fltr_Modal).on("click",u.tglFltrOptionHandler),!k.isV2Template&&D.pcName!==st||m("#onetrust-pc-sdk #filter-cancel-handler").on("click",u.cancelFilterHandler),!k.isV2Template&&D.pcName===st||m("#onetrust-pc-sdk #clear-filters-handler").on("click",u.clearFiltersHandler),k.isV2Template?m("#onetrust-pc-sdk #filter-cancel-handler").on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||e.shiftKey||(e.preventDefault(),m("#onetrust-pc-sdk #clear-filters-handler").el[0].focus())}):m("#onetrust-pc-sdk #filter-apply-handler").on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||e.shiftKey||(e.preventDefault(),(e=m("#onetrust-pc-sdk "+T.P_Fltr_Modal+" "+T.P_Fltr_Option).el[0])&&e.focus())}),m("#onetrust-pc-sdk "+T.P_Fltr_Modal+" "+T.P_Fltr_Options).on("keydown",function(e){var t=m("#onetrust-pc-sdk "+T.P_Fltr_Modal+" "+T.P_Fltr_Option).el[0];9!==e.keyCode&&"tab"!==e.code||!e.shiftKey||e.target!==t||(e.preventDefault(),m("#onetrust-pc-sdk #filter-apply-handler").el[0].focus())}))},r.prototype.addListenerSearchKeyEvent=function(){m(u.VENDOR_SEARCH_SELECTOR).on("keyup",function(e){e=e.target.value.trim();u.currentSearchInput!==e&&(w.showVendorService?vr.filterVendorByString(e):u.isCookieList?(C.searchHostList(e),w.showTrackingTech&&u.addEventAdditionalTechnologies()):(C.loadVendorList(e,[]),N.UseGoogleVendors&&C.searchVendors(C.googleSearchSelectors,w.addtlVendorsList,me.GoogleVendor,e),w.showGeneralVendors&&N.GeneralVendors.length&&C.searchVendors(C.genVendorSearchSelectors,N.GeneralVendors,me.GeneralVendor,e)),C.playSearchStatus(u.isCookieList),u.currentSearchInput=e)})},r.prototype.addListenerWhenIabEnabled=function(){N.IsIabEnabled&&(m("#onetrust-pc-sdk .category-vendors-list-handler").on("click",function(e){setTimeout(function(){u.pcLinkSource=e.target,u.showVendorsList(e.target)},0)}),m("#onetrust-pc-sdk .ot-pgph-link").on("click",function(e){u.pcLinkSource=e.target,u.showIllustrations(e.target)}),m("#onetrust-pc-sdk "+T.P_Vendor_Container).on("click",u.selectVendorsGroupHandler),N.UseGoogleVendors||u.bindSelAllHandlers(),u.initialiseLegIntBtnHandlers())},r.prototype.adddListenerWhenNoBanner=function(){N.NoBanner&&(N.OnClickCloseBanner&&document.body.addEventListener("click",g.bodyClickEvent),N.ScrollCloseBanner)&&window.addEventListener("scroll",g.scrollCloseBanner)},r.prototype.addListenerWhenVendorServices=function(){w.showVendorService&&(u.bindSelAllHandlers(),m("#onetrust-pc-sdk .onetrust-vendors-list-handler").on("click",function(){setTimeout(function(){u.showVendorsList(null,!0)},0)}))},r.prototype.bindSelAllHandlers=function(){m("#onetrust-pc-sdk #select-all-vendor-leg-handler").on("click",u.selectAllVendorsLegIntHandler),m("#onetrust-pc-sdk #select-all-vendor-groups-handler").on("click",u.SelectAllVendorConsentHandler)},r.prototype.hideCookieSettingsHandler=function(e){void 0===e&&(e=window.event),er.getInstance().resetHealthSignatureData(),po.triggerGoogleAnalyticsEvent(Sn,Pn),Fo.removeAddedOTCssStyles(Ro.PC),w.pcLayer===se.IabIllustrations&&Cr.hideUI(),null!=(t=null==(t=window.OneTrust_ConfirmDialog)?void 0:t.getInstance())&&t.close(),m(document).off("keydown",u.closePCWhenEscPressed),u.getResizeElement().removeEventListener("resize",u.setCenterLayoutFooterHeight),window.removeEventListener("resize",u.setCenterLayoutFooterHeight),!k.isV2Template&&D.pcName!==st||u.closeFilter(!1),D.pcName===rt&&m("#onetrust-pc-sdk "+T.P_Content).removeClass("ot-hide"),g.hideVendorsList(),zs.csBtnGroup&&(m(u.fltgBtnSltr).removeClass("ot-pc-open"),u.floatingCookieSettingCloseBtnClicked(null));var t=w.pcClosedFromCloseBtn;return Xo.hideConsentNoticeV2(),w.pcClosedFromCloseBtn=t,u.confirmPC(e),g.resetConsent(),zs.csBtnGroup&&h.syncOptOutNotification(),!1},r.prototype.selectAllHostsGroupsHandler=function(e){var t=e.target;if("function"==typeof t.getAttribute&&"true"===t.getAttribute(this.AriaDisabled))e.preventDefault(),e.stopPropagation(),t.checked=!1;else{var o=!!t.checked,e=m("#onetrust-pc-sdk #"+T.P_Sel_All_Host_El).el[0],t=e.classList.contains("line-through"),n=m("#onetrust-pc-sdk .host-checkbox-handler").el;v.setCheckedAttribute("#select-all-hosts-groups-handler",null,o),v.setAriaCheckedAttribute("#select-all-hosts-groups-handler",null,o.toString());for(var r=0;r button",u.toggleAccordionStatus.bind(this)))),w.vendorDomInit||(w.vendorDomInit=!0,u.initialiseLegIntBtnHandlers(),N.UseGoogleVendors&&(u.initialiseAddtlVenHandler(),u.bindSelAllHandlers())),w.showGeneralVendors&&!w.genVendorDomInit&&(w.genVendorDomInit=!0,C.initGenVendors(),u.initializeGenVenHandlers(),N.UseGoogleVendors||(u.bindSelAllHandlers(),m(""+u.PC_SELECTOR).on("click",".ot-acc-cntr > button",u.toggleAccordionStatus.bind(this))))},r.prototype.addEventAdditionalTechnologies=function(){var e=document.querySelectorAll("#onetrust-pc-sdk .ot-acc-cntr.ot-add-tech > button");0=e?Rt(m(""+u.PC_SELECTOR).el[0],"height: "+e+"px;",!0):Rt(m(""+u.PC_SELECTOR).el[0],"height: auto;",!0)})},r.prototype.changeSelectedTab=function(e){var t,o=m("#onetrust-pc-sdk .category-menu-switch-handler"),n=0,r=m(o.el[0]);o.each(function(e,t){m(e).el.classList.contains(T.P_Active_Menu)&&(n=t,m(e).el.classList.remove(T.P_Active_Menu),r=m(e))}),e.keyCode===ae.DownArrow?t=n+1>=o.el.length?m(o.el[0]):m(o.el[n+1]):e.keyCode===ae.UpArrow&&(t=m(n-1<0?o.el[o.el.length-1]:o.el[n-1])),this.tabMenuToggle(t,r)},r.prototype.changeSelectedTabV2=function(e){var t,o=e.target.parentElement,e=(e.keyCode===ae.DownArrow?t=o.nextElementSibling||o.parentElement.firstChild:e.keyCode===ae.UpArrow&&(t=o.previousElementSibling||o.parentElement.lastChild),t.querySelector(".category-menu-switch-handler"));e.focus(),this.groupTabClick(e)},r.prototype.categoryMenuSwitchHandler=function(){for(var o=this,e=m("#onetrust-pc-sdk .category-menu-switch-handler").el,n=this,t=0;t{e[t].addEventListener("click",n.groupTabClick),e[t].addEventListener("keydown",function(e){if(1<=t&&e.shiftKey&&9===e.keyCode&&!N.ShowPreferenceCenterCloseButton&&N.PCLayout.Tab&&(e.preventDefault(),Go.lastItem.focus()),32===e.keyCode||"space"===e.code)return o.groupTabClick(e.currentTarget),e.preventDefault(),!1})})(t)},r.prototype.groupTabClick=function(e){var t=m("#onetrust-pc-sdk "+T.P_Grp_Container).el[0],o=t.querySelector("."+T.P_Active_Menu),e=e.currentTarget||e,n=e.getAttribute("aria-controls");o.setAttribute("tabindex",-1),o.setAttribute(u.AriaSelected,!1),o.classList.remove(T.P_Active_Menu),t.querySelector(T.P_Desc_Container+":not(.ot-hide)").classList.add("ot-hide"),t.querySelector("#"+n).classList.remove("ot-hide"),e.setAttribute("tabindex",0),e.setAttribute(u.AriaSelected,!0),e.classList.add(T.P_Active_Menu)},r.prototype.tabMenuToggle=function(e,t){e.el.setAttribute("tabindex",0),e.el.setAttribute(u.AriaSelected,!0),t.el.setAttribute("tabindex",-1),t.el.setAttribute(u.AriaSelected,!1),e.focus(),t.el.parentElement.parentElement.querySelector(""+T.P_Desc_Container).classList.add("ot-hide"),e.el.parentElement.parentElement.querySelector(""+T.P_Desc_Container).classList.remove("ot-hide"),e.el.classList.add(T.P_Active_Menu)},r.prototype.closeFilter=function(e){var t,o;void 0===e&&(e=!0),Xo.checkIfPcSdkContainerExist()||(t=m("#onetrust-pc-sdk "+T.P_Fltr_Modal).el[0],o=m("#onetrust-pc-sdk "+T.P_Triangle).el[0],D.pcName===st?896.8*window.innerHeight||0===this.pcBodyHeight?Rt(t,"height: "+.8*window.innerHeight+"px;",!0):Rt(t,"height: "+i+"px;",!0):Rt(t,"height: 95%;",!0)):this.setPCContentAndListHeight(t,r)},r.prototype.toggleFtrStackedClass=function(e){var t=e.querySelectorAll(".ot-pc-footer button"),t=Array.from(t).filter(function(e){return"none"!==getComputedStyle(e).display}),o=t[t.length-1];e.classList.remove("ot-ftr-stacked"),t[0]&&o&&o.offsetTop>t[0].offsetTop+1&&e.classList.add("ot-ftr-stacked")},r.prototype.setPCContentAndListHeight=function(e,t){var o=e.querySelector(u.PC_FOOTER),n=e.querySelector(".ot-pc-header"),r=e.querySelector("#ot-pc-lst");Rt(e.querySelector(""+T.P_Content),"height: "+(e.clientHeight-o.clientHeight-n.clientHeight-3)+"px;",!0),t.Tab&&Rt(r,"height: "+(e.clientHeight-o.clientHeight-n.clientHeight-3)+"px;",!0)},r.prototype.allowAllVisible=function(e){e!==this.allowVisible&&N.PCLayout.Tab&&N.PCTemplateUpgrade&&(this.pc&&this.setMainContentHeight(),this.allowVisible=e)},r.prototype.restorePc=function(){w.pcLayer===se.CookieList?(u.hideCategoryContainer(!0),C.loadHostList("",w.filterByCategories),w.showTrackingTech&&u.addEventAdditionalTechnologies(),m(""+u.FILTER_COUNT_SELECTOR).text(w.filterByCategories.length.toString())):w.pcLayer===se.VendorList&&(u.hideCategoryContainer(!1),u.setVendorContent()),w.isPCVisible=!1,u.toggleInfoDisplay(),w.pcLayer!==se.VendorList&&w.pcLayer!==se.CookieList||(nn.updateFilterSelection(w.pcLayer===se.CookieList),u.setBackButtonFocus(),Go.setPCFocus(Go.getPCElements()))},r.prototype.toggleInfoDisplay=function(){var n;return F(this,void 0,void 0,function(){var t,o;return M(this,function(e){switch(e.label){case 0:return!w.isPCVisible&&h.isBannerVisible()&&(w.wasBannerVisible=!0),zs.csBtnGroup&&(m(u.fltgBtnSltr).addClass("ot-pc-open"),u.otGuardLogoPromise.then(function(){N.cookiePersistentLogo.includes("ot_guard_logo.svg")&&m(u.fltgBtnFSltr).attr(Tt,"true")}),m(u.fltgBtnBSltr).attr(Tt,""),m(u.fltgBtnBackBtn).el[0].style.display="block"),[4,u.fetchAndSetupPC()];case 1:return e.sent(),D.pcName===rt&&this.setPcListContainerHeight(),void 0!==w.pcLayer&&w.pcLayer!==se.Banner||(w.pcLayer=se.PrefCenterHome),t=m(""+u.PC_SELECTOR).el[0],m(".onetrust-pc-dark-filter").el[0].removeAttribute("style"),t.removeAttribute("style"),w.isPCVisible||(Xo.showConsentNotice(),w.isPCVisible=!0,o=document.querySelector(u.otPcContainerSelector),null!=(n=o)&&n.setAttribute("tabindex","-1"),N.PCTemplateUpgrade&&(this.pc=t,o=t.querySelector("#accept-recommended-btn-handler"),this.allowVisible=o&&0'):(m(this.COOKIE_POLICY_SELECTOR).html(""),m(this.OPTANON_POLICY_SELECTOR).html(""));for(var l=0,c=N.Groups;l{for(var t=d.cloneNode(!0),o=function(e){return t.querySelector(e)},n=(C.clearCookieRowElement(o),[]),r=[],i=0,s=e.Cookies;i\n '+l.Name+"\n "),r.push(a)}C.setDataLabelAttribute(o,c),C.createCookieRowHtmlElement({host:e,subGroupCookie:l,trt:o,json:c,lifespanText:n.join(", "),hostType:r.join(", ")}),C.removeLifeSpanOrHostDescription(c,u,t,o),m(p("tbody")).append(t)})(o[t])},Lr.prototype.insertGroupHTML=function(e){function t(e){return l.querySelector(e)}var o,n=e.json,r=e.group,i=e.sectionTemplate,s=e.tableRowTemplate,a=e.cookieList,e=e.fragment,l=i.cloneNode(!0),i=(m(t("caption")).el.innerHTML=S.getInnerHtmlContent(r.GroupName),m(t("tbody")).html(""),m(t("thead tr")),n.IsLifespanEnabled?m(t("th.life-span")).el.innerHTML=S.getInnerHtmlContent(n.LifespanText):m(t("thead tr")).el.removeChild(m(t("th.life-span")).el),m(t("th.cookies")).el.innerHTML=S.getInnerHtmlContent(n.CookiesText),m(t("th.host")).el.innerHTML=S.getInnerHtmlContent(n.CategoriesText),!1);if(r.Hosts.some(function(e){return e.description})?i=!0:m(t("thead tr")).el.removeChild(m(t("th.host-description")).el),m(t(".ot-sdk-cookie-policy-group")).html(r.GroupName),m(t(".ot-sdk-cookie-policy-group-desc")).html(this.groupsClass.safeFormattedGroupDescription(r)),0 "+h.getCookieLabel(o,n.AddLinksToCookiepedia)+" ")}else l.removeChild(t(".cookies-used-header")),l.removeChild(t(".cookies-list"));this.insertHostHtmlV1({json:n,hosts:r.Hosts,tableRowTemplate:s,showHostDescription:i,st:t}),m(a).append(l),m(e).append(a),m(this.COOKIE_POLICY_SELECTOR).append(e)},Lr.prototype.insertHostHtmlV1=function(e){for(var l=e.json,t=e.hosts,c=e.tableRowTemplate,d=e.showHostDescription,u=e.st,o=0,n=t;o{for(var t=c.cloneNode(!0),o=function(e){return t.querySelector(e)},n=(m(o(".cookies-td ul")).html(""),m(o(".life-span-td ul")).html(""),m(o(".host-td")).html(""),m(o(".host-description-td")).html(''+e.Description+"
"),0),r=0,i=e.Cookies;r "+s.Name+" "+a+" "),l.IsLifespanEnabled&&(a=s.Length?s.Length+" days":"N/A",m(o(".life-span-td ul")).append(""+a+"")),0===n&&(m(o(".host-td")).append(''),m(o(".host-td")).append(''+(e.DisplayName||e.HostName)+"")),n++}d||t.removeChild(o("td.host-description-td")),m(u("tbody")).append(t)})(n[o]);0===t.length&&m(u("table")).el.removeChild(m(u("thead")).el)},Lr.prototype.transformFirstPartyCookies=function(e,t,o){var n=this,r=t.slice(),t=(e.forEach(function(e){n.populateHostGroup(e,r,N.firstPartyTxt)}),o.GeneralVendorsIds),e=(this.populateGenVendor(t,o,r),o.SubGroups||[]);return e.length&&e.forEach(function(e){var t=e.GeneralVendorsIds;n.populateGenVendor(t,e,r)}),r},Lr.prototype.populateGenVendor=function(e,o,n){var r=this;e.length&&e.forEach(function(t){var e=N.GeneralVendors.find(function(e){return e.VendorCustomId===t});e.Cookies.length&&e.Cookies.forEach(function(e){var t;e.category===o.GroupName&&(t=e.isThirdParty?"":N.firstPartyTxt,r.populateHostGroup(e,n,t))})})},Lr.prototype.populateHostGroup=function(t,e,o){e.some(function(e){if(e.HostName===t.Host&&e.Type===o)return e.Cookies.push(t),!0})||e.unshift({HostName:t.Host,DisplayName:t.Host,HostId:"",Description:"",Type:o,Cookies:[t]})},Lr.prototype.insertCookieLineByLine=function(e){for(var t=e.json,o=e.tableRowTemplate,n=e.showHostDescription,r=e.st,i=0,s=e.hosts;i'+p+"\n "),o.cloneNode(!0)),g=this.queryToHtmlElement(C);this.clearCookieRowElement(g),this.createCookieRowHtmlElement({host:a,subGroupCookie:d,trt:g,json:t,lifespanText:u,hostType:p}),this.removeLifeSpanOrHostDescription(t,n,C,g),m(r("tbody")).append(C)}},Lr.prototype.removeLifeSpanOrHostDescription=function(e,t,o,n){e.IsLifespanEnabled||o.removeChild(n("td.ot-life-span-td")),t||o.removeChild(n("td.ot-host-description-td"))},Lr.prototype.createCookieRowHtmlElement=function(e){var t=e.host,o=e.subGroupCookie,n=e.trt,r=e.lifespanText,i=e.hostType,s=".ot-host-td",e=(this.setDataLabelAttribute(n,e.json),m(n(".ot-host-description-td")).html(''+o.description+"
"),m(n(s)).append(''),t.DisplayName||t.HostName);m(n(s)).append(t.Type?e:'\n '+e+"\n "),n(".ot-cookies-td .ot-cookies-td-content").insertAdjacentHTML("beforeend",S.getInnerHtmlContent(i)),m(n(".ot-life-span-td .ot-life-span-td-content")).html(r),m(n(".ot-cookies-type .ot-cookies-type-td-content")).html(t.Type?N.firstPartyTxt:N.thirdPartyTxt)},Lr.prototype.setDataLabelAttribute=function(e,t){var o="data-label";e(".ot-host-td").setAttribute(o,t.CategoriesText),e(".ot-cookies-td").setAttribute(o,t.CookiesText),e(".ot-cookies-type").setAttribute(o,t.CookiesUsedText),e(".ot-life-span-td").setAttribute(o,t.LifespanText),e(".ot-host-description-td").setAttribute(o,t.CookiesDescText)},Lr.prototype.clearCookieRowElement=function(e){m(e(".ot-cookies-td span")).text(""),m(e(".ot-life-span-td span")).text(""),m(e(".ot-cookies-type span")).text(""),m(e(".ot-cookies-td .ot-cookies-td-content")).html(""),m(e(".ot-host-td")).html("")},Lr.prototype.setCookieListHeaderOrder=function(e){var e=e.querySelector("section table thead tr"),t=e.querySelector("th.ot-host"),o=e.querySelector("th.ot-cookies"),n=e.querySelector("th.ot-life-span"),r=e.querySelector("th.ot-cookies-type"),i=e.querySelector("th.ot-host-description");e.innerHTML=S.getInnerHtmlContent(""),e.appendChild(o.cloneNode(!0)),e.appendChild(t.cloneNode(!0)),e.appendChild(n.cloneNode(!0)),e.appendChild(r.cloneNode(!0)),e.appendChild(i.cloneNode(!0))},Lr.prototype.setCookieListBodyOrder=function(e){var t=e.querySelector("td.ot-host-td"),o=e.querySelector("td.ot-cookies-td"),n=e.querySelector("td.ot-life-span-td"),r=e.querySelector("td.ot-cookies-type"),i=e.querySelector("td.ot-host-description-td");e.innerHTML=S.getInnerHtmlContent(""),e.appendChild(o.cloneNode(!0)),e.appendChild(t.cloneNode(!0)),e.appendChild(n.cloneNode(!0)),e.appendChild(r.cloneNode(!0)),e.appendChild(i.cloneNode(!0))},Lr.prototype.queryToHtmlElement=function(t){return function(e){return t.querySelector(e)}};var Ir,br=Lr;function Lr(){this.groupsClass=y,this.COOKIE_POLICY_SELECTOR="#ot-sdk-cookie-policy",this.OPTANON_POLICY_SELECTOR="#optanon-cookie-policy",this.ONETRUST_COOKIE_POLICY="#ot-sdk-cookie-policy, #optanon-cookie-policy"}_r.prototype.initBanner=function(){this.canImpliedConsentLandingPage(),k.moduleInitializer.CookieSPAEnabled?m(window).on("otloadbanner",this.windowLoadBanner.bind(this)):m(window).one("otloadbanner",this.windowLoadBanner.bind(this))},_r.prototype.insertCSBtnHtmlAndCss=function(e){var t=document.getElementById("onetrust-style"),t=(t.innerHTML=S.getInnerHtmlContent(t.innerHTML+zs.csBtnGroup.css),document.createElement("div")),t=(m(t).html(zs.csBtnGroup.html),t.querySelector("#ot-sdk-btn-floating"));e&&t&&m(t).removeClass("ot-hide"),m("#onetrust-consent-sdk").append(t),N.cookiePersistentLogo&&(N.cookiePersistentLogo.includes("ot_guard_logo.svg")?this.applyPersistentSvgOnDOM():(m(".ot-floating-button__front, .ot-floating-button__back").addClass("custom-persistent-icon"),e=h.updateCorrectUrl(N.cookiePersistentLogo),t=new URL(e,window.location.origin).pathname,k.fp.CMPIconSprite&&(t.includes("/logos/static/")||t.includes("src/assets/images/")&&new URL(e,window.location.origin).host.includes("localhost"))&&(e="",m(".ot-floating-button__front > button").html(e),m(".ot-floating-button__front svg").attr("class","ot-source-sprite"))))},_r.prototype.applyPersistentSvgOnDOM=function(){return F(this,void 0,void 0,function(){var t;return M(this,function(e){switch(e.label){case 0:return k.fp.CMPIconSprite?(t="",[3,3]):[3,1];case 1:return[4,Jt.getPersistentCookieSvg()];case 2:t=e.sent(),e.label=3;case 3:return m(this.FLOATING_COOKIE_FRONT_BTN).html(t),u.otGuardLogoResolve(!0),[2]}})})},_r.prototype.canImpliedConsentLandingPage=function(){this.isImpliedConsent()&&!Po.isLandingPage()&&"true"===I.readCookieParam(P.OPTANON_CONSENT,A.AWAITING_RE_CONSENT)&&this.checkForRefreshCloseImplied()},_r.prototype.isImpliedConsent=function(){return N.ConsentModel&&"implied consent"===N.ConsentModel.Name.toLowerCase()||0De.ChunkSize?s=De.ChunkSize:(s=n.length,o=1===r),o?(t[De.Name]=n,n=""):(i=n.slice(0,s),n=n.slice(s,n.length),t[""+De.Name+r]=i),r++}return t},Us.prototype.writeGppCookies=function(e,t){I.writeCookieParam(P.OPTANON_CONSENT,De.ChunkCountParam,e),I.writeCookieParam(P.OPTANON_CONSENT,De.gppSid,this.gppSectionId);for(var o=0,n=Object.entries(t);o=t+864e5*e)},Ks.prototype.recordForceReceiptSent=function(){var e=I.readCookieParam(P.OPTANON_CONSENT,A.FORCE_CONSENT_COOLOFF),t=1,e=(e&&2===(e=e.split("_")).length&&(e=parseInt(e[0],10),isNaN(e)||(t=Math.min(e+1,3))),Math.floor(Date.now()/1e3));I.writeCookieParam(P.OPTANON_CONSENT,A.FORCE_CONSENT_COOLOFF,t+"_"+e)},Ks.prototype.resetForceReceiptCooloff=function(){I.writeCookieParam(P.OPTANON_CONSENT,A.FORCE_CONSENT_COOLOFF,"")},Ks.prototype.canSendConsentReceipt=function(e,t,o){return h.updateIntTypeFromCookie(),!(!e&&D.apiSource!==oe.UpdateConsent&&w.consentInteractionType===t&&!o&&!(w.consentInteractionType===t&&this.isConsentReceiptCoolingPeriodOver()||w.makeInitialTxnCall))},Ks.prototype.isConsentReceiptCoolingPeriodOver=function(){var e=I.readCookieParam(P.OPTANON_CONSENT,A.LAST_CONSENT_RECEIPT,!0)||void 0,t=Date.now();return!e||t-e>=this.MIN_INTERVAL_BETWEEN_CALLS||(this.MIN_INTERVAL_BETWEEN_CALLS,!1)},Ks.prototype.addGppStringAttribute=function(e){N.IsGPPEnabled&&Fs.hasGPPSection()&&Fs.updateGppConsentString();var t=I.getCookie(P.GPP_CONSENT);t&&(e.gppString=t)},Ks.prototype.addConsentStringToPayload=function(e){var t=I.getMergedCookieByName(P.EU_PUB_CONSENT),o=D.getRegionRuleType();(D.isIab2orv2Template||"IABC"===o)&&t?e.consentString={type:"IABC"===o?"tcfcanada":"IAB2"!==o&&"IAB2V2"!==o?"":"tcfeu",content:t}:N.IsGPPEnabled&&e.hasOwnProperty("gppString")&&e.gppString&&(e.consentString={type:"gpp",content:e.gppString},delete e.gppString)},Ks.prototype.createConsentTxn=function(e,t,o,n,r,i){void 0===t&&(t=""),void 0===o&&(o=!1),void 0===i&&(i="");var s=this.ensureConsentId(e,n=void 0===n?!0:n,r=void 0===r?!1:r),a=N.ConsentIntegration,l=this.getConsentURL(s.isAnonymous),c=this.canCreateConsentReceiptTxn(s,e);if(w.isV2Stub&&t&&this.isAuthUsr(t),c){c=k.moduleInitializer,s=(qs.noOptOutToogle=c.TenantFeatures.CookieV2NoOptOut,qs.isCloseByIconOrLink=this.isBannerClosedByIconOrLink(),{requestInformation:a.RequestInformation,identifier:s.id,identifierType:s.identifierType,customPayload:{Interaction:s.count,AddDefaultInteraction:s.addDfltInt},isAnonymous:s.isAnonymous,test:c.ScriptType===je.TEST||c.ScriptType===je.LOCAL_TEST,purposes:this.getConsetPurposes(e,i,t),dsDataElements:{}});if(this.handleReceiptsWhenSendReceiptIsEnabled(s,r,t),this.addCrossDeviceAttributes(s),this.addAdvAnalyticsAttributes(s,t),this.addGppStringAttribute(s),this.addConsentStringToPayload(s),!c.MobileSDK&&n&&s.purposes.length){i=JSON.stringify(s),c=this.getAuthToken();if(this.sendBeaconSupported(e,c)){n=navigator.sendBeacon(l,i);try{n&&I.writeCookieParam(P.OPTANON_CONSENT,A.LAST_CONSENT_RECEIPT,Date.now())}catch(e){console.info("[ConsentReceipt] sendBeacon logging error",e)}B.dispatchConsentEvent()}else this.canSendConsentReceipt(o,t,r)&&S.ajax({url:l,type:"post",dataType:"json",contentType:"application/json",data:JSON.stringify(s),sync:e,success:function(){B.dispatchConsentEvent();try{I.writeCookieParam(P.OPTANON_CONSENT,A.LAST_CONSENT_RECEIPT,Date.now()),w.makeInitialTxnCall=!1}catch(e){console.info("[ConsentReceipt] signature/timestamp logging error",e)}},error:function(){B.dispatchConsentEvent()},token:c})}D.pubDomainData.ConsentIntegrationData={consentApi:a.ConsentApi,consentPayload:s}}w.consentInteractionType=t,this.storeInteractionType(t)},Ks.prototype.canCreateConsentReceiptTxn=function(e,t){var o=N.ConsentIntegration,n=this.getConsentURL(e.isAnonymous),r=window.navigator.userAgent,r=/OneTrust/.test(r),i=w.isBotHeader&&w.isBotHeaderDomain&&e.isAnonymous;return n&&o.RequestInformation&&e.id&&!r&&!i&&!this.blockDefaultReceiptCall(t)},Ks.prototype.getConsentURL=function(e){var t=N.ConsentIntegration,o=t.ConsentApi,n=k.moduleInitializer.TenantFeatures;return n&&n.CookieV2NewConsentReceiptAPI&&(e&&t.AnonymousConsentApi?o=t.AnonymousConsentApi:w.isV2Stub&&t.CROConsentApi&&(o=t.CROConsentApi)),o},Ks.prototype.blockDefaultReceiptCall=function(e){return!!e&&!!k.fp.CMPNotGiven&&!N.CanGenerateNotGivenReceipts},Ks.prototype.ensureConsentId=function(e,t,o){void 0===o&&(o=!1);var n,r=!1,i=this.getIdenTypeAndIsAnonAttr(),s=i.isAnonymous,i=i.identifierType,e=e||!t||o?0:(r=!0,1),a=I.readCookieParam(P.OPTANON_CONSENT,A.CONSENT_ID,!0),t=(a?(n=parseInt(I.readCookieParam(P.OPTANON_CONSENT,A.INTERACTION_COUNT),10),isNaN(n)||(t&&!o&&++n,e=n,r=!1)):(a=v.generateUUID(),I.writeCookieParam(P.OPTANON_CONSENT,A.CONSENT_ID,a)),I.writeCookieParam(P.OPTANON_CONSENT,A.INTERACTION_COUNT,e),I.writeCookieParam(P.OPTANON_CONSENT,A.IS_ANONYMOUS_CONSENT,s?"1":"0"),!!w.dsParams.token);return I.writeCookieParam(P.OPTANON_CONSENT,A.PREV_USER_HAD_TOKEN,t?"1":"0"),{id:a,count:e,addDfltInt:r,identifierType:i,isAnonymous:s}},Ks.prototype.getIdenTypeAndIsAnonAttr=function(){var e=!0,t=I.readCookieParam(P.OPTANON_CONSENT,A.IDENTIFIER_TYPE,!1),o=t,n=(!1!==(null==(n=N.ConsentIntegration)?void 0:n.IdentifiedReceiptsAllowed)&&w.isV2Stub||(e=!0,o=null==(n=N.ConsentIntegration)?void 0:n.DefaultAnonymousIdentifier),(w.isV2Stub||null!=(n=N.ConsentIntegration)&&n.IdentifiedReceiptsAllowed&&!w.isV2Stub)&&(e=(n=this.setAnonymityBasedOnKnownUserOrNot(e,o)).isAnonymous,o=n.idTypeUpdated),w.dsParams);return n.forceUserConsentAttributes&&(n&&n.hasOwnProperty("isAnonymous")&&(e=n.isAnonymous),t)&&!1!==(null==(n=N.ConsentIntegration)?void 0:n.IdentifiedReceiptsAllowed)&&(o=t),{isAnonymous:e,identifierType:o}},Ks.prototype.setAnonymityBasedOnKnownUserOrNot=function(e,t){var o,n="",n=null!=(o=w.dsParams)&&o.id?(e=!!w.dsParams.hasOwnProperty("isAnonymous")&&w.dsParams.isAnonymous,null!=(o=t)&&o.trim().length?t:e?null==(o=N.ConsentIntegration)?void 0:o.DefaultAnonymousIdentifier:null==(t=N.ConsentIntegration)?void 0:t.DefaultIdentifier):(e=!0,null==(o=N.ConsentIntegration)?void 0:o.DefaultAnonymousIdentifier);return{isAnonymous:e,idTypeUpdated:n}},Ks.prototype.storeInteractionType=function(e){if(null!=e){var t;if("number"==typeof e)isNaN(e)||(t=e);else if("string"==typeof e){e=e.trim();if(!e)return;var o=Number(e);isNaN(o)?"number"==typeof(e=Ce[e])&&(t=e):t=o}e=Object.values(Ce).filter(function(e){return"number"==typeof e});void 0!==t&&e.includes(t)&&I.writeCookieParam(P.OPTANON_CONSENT,A.INTERACTION_TYPE,t)}},Ks.prototype.getAuthToken=function(){var e=null;return e=N.ConsentIntegration.EnableJWTAuthForKnownUsers&&w.dsParams.id&&w.dsParams.token?w.dsParams.token:e},Ks.prototype.sendBeaconSupported=function(e,t){return e&&navigator.sendBeacon&&!t},Ks.prototype.handleReceiptsWhenSendReceiptIsEnabled=function(e,t,o){!w.isV2Stub&&t&&((t=I.getCookie(P.ALERT_BOX_CLOSED))&&(e.interactionDate=t),o&&(e.InteractionType=o),e.enableDataElementDateValidation=!0)},Ks.prototype.getGrpDetails=function(e,o){var n=[];return e.forEach(function(e){var e=e.split(":"),t=e[0],e="true"===e[1]?"1":"0",t=qs.getOptanonIdForIabGroup(t,o);n.push(t+":"+e)}),n},Ks.prototype.getOptanonIdForIabGroup=function(e,t){var o;return t===ne.Purpose?o=b.IdPatterns.Pur+e:t===ne.SpecialFeature&&(o=b.IdPatterns.Spl_Ft+e),o},Ks.prototype.getConsetPurposes=function(n,r,i){var s=this,a=[],e=[],t=w.oneTrustIABConsent,o=t&&t.purpose?this.getGrpDetails(t.purpose,ne.Purpose):[],l=t&&t.specialFeatures?this.getGrpDetails(t.specialFeatures,ne.SpecialFeature):[],e=U(t.specialPurposes,t.features);return U(w.groupsConsent,o,l).forEach(function(e){var t,e=e.split(":"),o=L.getGroupById(e[0]);o&&o.PurposeId&&(e=s.getTransactionType(o,e,n),t=s.processGroupConsentPurpose(o,e,a,r,i),s.setVSConsentByGroup(o,e,t).forEach(function(e){return a.push(e)}))}),e.forEach(function(e){e.purposeId&&a.push({Id:e.purposeId,TransactionType:Me})}),"GPC"!==r&&"DNT"!==r||(a=a.filter(function(e){return e.PurposeNote})),w.bannerCloseSource=ee.Unknown,a},Ks.prototype.setVSConsentByGroup=function(e,o,n){var r=[];return w.showVendorService&&e.VendorServices&&e.VendorServices.forEach(function(e){var t;t=o.useOwn?w.vsConsent.get(e.CustomVendorServiceId)?Re:Fe:o.txnType,r.push("GPC"===n?{Id:e.PurposeId,TransactionType:t,PurposeNote:{noteId:N.ConsentIntegration.GPCReasonID,noteType:"UNSUBSCRIBE_REASON",noteText:N.GPCOptOutNoteText}}:"DNT"===n?{Id:e.PurposeId,TransactionType:t,PurposeNote:{noteId:N.ConsentIntegration.DNTReasonID,noteType:"UNSUBSCRIBE_REASON",noteText:N.DNTOptOutNoteText}}:{Id:e.PurposeId,TransactionType:t})}),r},Ks.prototype.getTransactionType=function(e,t,o){var n={txnType:Me,useOwn:!1};return e.Status===f.ALWAYS_ACTIVE?n.txnType=Me:e.Status.toLowerCase()===f.ALWAYS_INACTIVE||e.Status===f.INACTIVE&&qs.isCloseByIconOrLink||o?n.txnType=Ue:e.Status===f.ACTIVE&&qs.isCloseByIconOrLink?n.txnType=qs.noOptOutToogle?qe:Re:(n.useOwn=!0,n.txnType=this.getTxnType(t[1])),n},Ks.prototype.getTxnType=function(e){return"0"===e?Fe:Re},Ks.prototype.isPurposeConsentedTo=function(e,t){var o=[Re,Me];return e.some(function(e){return e.Id===t.PurposeId&&(-1!==o.indexOf(e.TransactionType)||L.checkIfGroupHasConsent(t))})},Ks.prototype.processGroupConsentPurpose=function(e,t,o,n,r){return(!n&&"GPC value changed"===r||"GPC"===n)&&e.isDeniedByGPC?(o.push({Id:e.PurposeId,TransactionType:t.txnType,PurposeNote:{noteId:N.ConsentIntegration.GPCReasonID,noteType:"UNSUBSCRIBE_REASON",noteText:N.GPCOptOutNoteText}}),"GPC"):"DNT"===n&&e.isDeniedByDNT?(o.push({Id:e.PurposeId,TransactionType:t.txnType,PurposeNote:{noteId:N.ConsentIntegration.DNTReasonID,noteType:"UNSUBSCRIBE_REASON",noteText:N.DNTOptOutNoteText}}),"DNT"):(o.push({Id:e.PurposeId,TransactionType:t.txnType}),"none")},Ks.prototype.canSendAdvancedAnalytics=function(t,e){var o=this;return"BRANCH"===e.Type||e.Type===b.GroupTypes.Stack?e.SubGroups.length&&e.SubGroups.every(function(e){return o.isPurposeConsentedTo(t,e)}):this.isPurposeConsentedTo(t,e)};var qs,js=Ks;function Ks(){this.MIN_INTERVAL_BETWEEN_CALLS=6048e5}var zs,Ws=function(){this.assets=function(){return{name:"otCookiePolicy",html:'\n
Cookie Tracking Table
\n
\n
\n Strictly Necessary Cookies
\n group description
\n \n \n \n caption\n \n \n \n \n \n \n
\n \n \n \n | Azure\n | \n These\n cookies are used to make sure\n visitor page requests are routed to the same server in all browsing sessions. | \n \n \n \n | \n \n \n | \n
\n \n
\n \n
\n Strictly Necessary Cookies
\n description
\n \n \n \n caption\n \n \n \n \n \n \n
\n \n \n \n | Azure\n | \n \n \n cookies are used to make sureng sessions.\n | \n \n \n \n | \n \n \n | \n
\n \n
\n \n
\n\x3c!-- New Cookies policy Link--\x3e\n\n
Cookie Tracking Table
\n
\n
\n Strictly Necessary Cookies
\n group description
\n \n \n - \n
Strictly Necessary Cookies
\n description
\n \n
\n \n \n caption\n \n \n \n \n \n \n \n
\n \n \n \n | Azure\n | \n \n \n cookies are used to make sureng sessions.\n | \n \n \n ARRAffinity\n | \n \n \n 1st Party\n | \n \n \n 100 days\n | \n
\n \n
\n \n
',css:".ot-sdk-cookie-policy{font-family:inherit;font-size:16px}.ot-sdk-cookie-policy.otRelFont{font-size:1rem}.ot-sdk-cookie-policy h3,.ot-sdk-cookie-policy h4,.ot-sdk-cookie-policy h6,.ot-sdk-cookie-policy p,.ot-sdk-cookie-policy li,.ot-sdk-cookie-policy a,.ot-sdk-cookie-policy th,.ot-sdk-cookie-policy #cookie-policy-description,.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,.ot-sdk-cookie-policy #cookie-policy-title{color:dimgray}.ot-sdk-cookie-policy #cookie-policy-description{margin-bottom:1em}.ot-sdk-cookie-policy h4{font-size:1.2em}.ot-sdk-cookie-policy h6{font-size:1em;margin-top:2em}.ot-sdk-cookie-policy th{min-width:75px}.ot-sdk-cookie-policy a,.ot-sdk-cookie-policy a:hover{background:#fff}.ot-sdk-cookie-policy thead{background-color:#f6f6f4;font-weight:bold}.ot-sdk-cookie-policy .ot-mobile-border{display:none}.ot-sdk-cookie-policy section{margin-bottom:2em}.ot-sdk-cookie-policy table{border-collapse:inherit}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy{font-family:inherit;font-size:1rem}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h3,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h4,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h6,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy p,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-title{color:dimgray}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description{margin-bottom:1em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup{margin-left:1.5em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group-desc,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-table-header,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td{font-size:.9em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td a{font-size:inherit}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group{font-size:1em;margin-bottom:.6em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-title{margin-bottom:1.2em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy>section{margin-bottom:1em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th{min-width:75px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a:hover{background:#fff}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead{background-color:#f6f6f4;font-weight:bold}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-mobile-border{display:none}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy section{margin-bottom:2em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup ul li{list-style:disc;margin-left:1.5em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup ul li h4{display:inline-block}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table{border-collapse:inherit;margin:auto;border:1px solid #d7d7d7;border-radius:5px;border-spacing:initial;width:100%;overflow:hidden}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table td{border-bottom:1px solid #d7d7d7;border-right:1px solid #d7d7d7}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td{border-bottom:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr th:last-child,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr td:last-child{border-right:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:25%}.ot-sdk-cookie-policy[dir=rtl]{text-align:left}#ot-sdk-cookie-policy h3{font-size:1.5em}@media only screen and (max-width: 530px){.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) table,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) thead,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tbody,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) th,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr{display:block}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) thead tr{position:absolute;top:-9999px;left:-9999px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr{margin:0 0 1em 0}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr:nth-child(odd),.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr:nth-child(odd) a{background:#f6f6f4}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td:before{position:absolute;height:100%;left:6px;width:40%;padding-right:10px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) .ot-mobile-border{display:inline-block;background-color:#e4e4e4;position:absolute;height:100%;top:0;left:45%;width:2px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td:before{content:attr(data-label);font-weight:bold}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) li{word-break:break-word;word-wrap:break-word}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table{overflow:hidden}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table td{border:none;border-bottom:1px solid #d7d7d7}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tbody,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tr{display:block}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:auto}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tr{margin:0 0 1em 0}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td:before{height:100%;width:40%;padding-right:10px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td:before{content:attr(data-label);font-weight:bold}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li{word-break:break-word;word-wrap:break-word}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead tr{position:absolute;top:-9999px;left:-9999px;z-index:-9999}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td{border-bottom:1px solid #d7d7d7;border-right:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td:last-child{border-bottom:0px}}",cssRTL:".ot-sdk-cookie-policy{font-family:inherit;font-size:16px}.ot-sdk-cookie-policy.otRelFont{font-size:1rem}.ot-sdk-cookie-policy h3,.ot-sdk-cookie-policy h4,.ot-sdk-cookie-policy h6,.ot-sdk-cookie-policy p,.ot-sdk-cookie-policy li,.ot-sdk-cookie-policy a,.ot-sdk-cookie-policy th,.ot-sdk-cookie-policy #cookie-policy-description,.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,.ot-sdk-cookie-policy #cookie-policy-title{color:dimgray}.ot-sdk-cookie-policy #cookie-policy-description{margin-bottom:1em}.ot-sdk-cookie-policy h4{font-size:1.2em}.ot-sdk-cookie-policy h6{font-size:1em;margin-top:2em}.ot-sdk-cookie-policy th{min-width:75px}.ot-sdk-cookie-policy a,.ot-sdk-cookie-policy a:hover{background:#fff}.ot-sdk-cookie-policy thead{background-color:#f6f6f4;font-weight:bold}.ot-sdk-cookie-policy .ot-mobile-border{display:none}.ot-sdk-cookie-policy section{margin-bottom:2em}.ot-sdk-cookie-policy table{border-collapse:inherit}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy{font-family:inherit;font-size:1rem}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h3,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h4,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h6,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy p,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-title{color:dimgray}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description{margin-bottom:1em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup{margin-right:1.5em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group-desc,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-table-header,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td{font-size:.9em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td a{font-size:inherit}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group{font-size:1em;margin-bottom:.6em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-title{margin-bottom:1.2em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy>section{margin-bottom:1em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th{min-width:75px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a:hover{background:#fff}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead{background-color:#f6f6f4;font-weight:bold}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-mobile-border{display:none}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy section{margin-bottom:2em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup ul li{list-style:disc;margin-right:1.5em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup ul li h4{display:inline-block}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table{border-collapse:inherit;margin:auto;border:1px solid #d7d7d7;border-radius:5px;border-spacing:initial;width:100%;overflow:hidden}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table td{border-bottom:1px solid #d7d7d7;border-left:1px solid #d7d7d7}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td{border-bottom:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr th:last-child,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr td:last-child{border-left:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:25%}.ot-sdk-cookie-policy[dir=rtl]{text-align:right}#ot-sdk-cookie-policy h3{font-size:1.5em}@media only screen and (max-width: 530px){.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) table,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) thead,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tbody,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) th,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr{display:block}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) thead tr{position:absolute;top:-9999px;right:-9999px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr{margin:0 0 1em 0}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr:nth-child(odd),.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr:nth-child(odd) a{background:#f6f6f4}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td{border:none;border-bottom:1px solid #eee;position:relative;padding-right:50%}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td:before{position:absolute;height:100%;right:6px;width:40%;padding-left:10px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) .ot-mobile-border{display:inline-block;background-color:#e4e4e4;position:absolute;height:100%;top:0;right:45%;width:2px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td:before{content:attr(data-label);font-weight:bold}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) li{word-break:break-word;word-wrap:break-word}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table{overflow:hidden}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table td{border:none;border-bottom:1px solid #d7d7d7}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tbody,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tr{display:block}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:auto}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tr{margin:0 0 1em 0}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td:before{height:100%;width:40%;padding-left:10px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td:before{content:attr(data-label);font-weight:bold}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li{word-break:break-word;word-wrap:break-word}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead tr{position:absolute;top:-9999px;right:-9999px;z-index:-9999}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td{border-bottom:1px solid #d7d7d7;border-left:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td:last-child{border-bottom:0px}}"}}},Ys="opt-out",Js=(Xs.prototype.initializeFeaturesAndSpecialPurposes=function(){var t=this;w.oneTrustIABConsent.features=[],w.oneTrustIABConsent.specialPurposes=[],N.Groups.forEach(function(e){t.checkAndPopulateFeatAndSplPur(e)})},Xs.prototype.checkAndPopulateFeatAndSplPur=function(e){var t,o=this,n=b.GroupTypes;e.Type!==n.Ft&&e.Type!==n.Spl_Pur||((t={}).groupId=e.OptanonGroupId,t.purposeId=e.PurposeId,t.value=!0,(e.Type===n.Ft?w.oneTrustIABConsent.features:w.oneTrustIABConsent.specialPurposes).push(t)),e.SubGroups&&e.SubGroups.forEach(function(e){o.checkAndPopulateFeatAndSplPur(e)})},Xs.prototype.initGrpsAndHosts=function(){this.initializeGroupData(D.consentableGrps),B.isAlertBoxClosedAndValid()||D.initConsentableImpliedConsentGroup(D.consentableGrps),N.showCookieList&&h.isOptOutEnabled()?this.initializeHostData(D.consentableGrps):(w.hostsConsent=[],ho.writeHstParam(P.OPTANON_CONSENT))},Xs.prototype.ensureHtmlGroupDataInitialised=function(){var e,t,o,n;this.initGrpsAndHosts(),w.showGeneralVendors&&(vo.populateGenVendorLists(),vo.initGenVendorConsent()),N.IsIabEnabled&&(this.initializeIABData(),this.initializeFeaturesAndSpecialPurposes()),w.vsIsActiveAndOptOut&&this.initializeVendorsService(),B.setOrUpdate3rdPartyIABConsentFlag(),B.setGeolocationInCookies(),N.IsConsentLoggingEnabled&&(e=window.OneTrust.dataSubjectParams||{},t=I.readCookieParam(P.OPTANON_CONSENT,"iType"),o="",n=!1,w.isV2Stub&&e.id&&e.token&&(t?(n=!0,o=Ce[t]):D.forceCreateTrxLocalConsentIsGreater&&qs.shouldCreateForceReceipt()&&(n=!0,qs.recordForceReceiptSent()),w.makeInitialTxnCall=!0),qs.createConsentTxn(!1,o,!1,n))},Xs.prototype.initializeVendorsService=function(){var o=B.isAlertBoxClosedAndValid(),e=I.readCookieParam(P.OPTANON_CONSENT,oo),n=v.strToMap(e);w.getVendorsInDomain().forEach(function(e,t){n.has(t)||(e=!o&&L.checkIsActiveByDefault(e.groupRef),n.set(t,e))}),w.vsConsent=n},Xs.prototype.initializeGroupData=function(e){var t;I.readCookieParam(P.OPTANON_CONSENT,$t)?(bo.synchroniseCookieGroupData(e),t=I.readCookieParam(P.OPTANON_CONSENT,$t),w.groupsConsent=v.strToArr(t),w.gpcConsentTxn&&(N.IsConsentLoggingEnabled&&qs.createConsentTxn(!1,"GPC value changed",!1,!0),w.gpcConsentTxn=!1,po.setAlertBoxClosed(!0)),w.dntConsentTxn&&(N.IsConsentLoggingEnabled&&qs.createConsentTxn(!1,"DNT value changed",!1,!0,!1,"DNT"),w.dntConsentTxn=!1)):(w.groupsConsent=[],e.forEach(function(e){var t=L.checkIsActiveByDefault(e)&&e.HasConsentOptOut;e.Status===f.INACTIVE_LANDING_PAGE&&!B.isAlertBoxClosedAndValid()&&Po.isLandingPage()&&(t=!1),w.groupsConsent.push(e.CustomGroupId+":"+(t?"1":"0")),D.gpcEnabled&&e.IsGpcEnabled&&e.Status===f.INACTIVE&&(e.isDeniedByGPC=!0),D.DNTEnabled&&e.IsDntEnabled&&e.Status===f.ACTIVE&&(e.isDeniedByDNT=!0)}),N.IsConsentLoggingEnabled&&window.addEventListener("beforeunload",this.consentDefaulCall)),N.IsConsentLoggingEnabled&&D.makeGPCOrDNTConsentCall&&!B.isAlertBoxClosedAndValid()&&(D.makeGPCOrDNTConsentCall=!1,D.gpcEnabled&&e.some(function(e){return!0===e.isDeniedByGPC})?qs.createConsentTxn(!1,"GPC value changed",!1,!0,!1,"GPC"):D.DNTEnabled&&e.some(function(e){return!0===e.isDeniedByDNT})&&qs.createConsentTxn(!1,"DNT value changed",!1,!0,!1,"DNT"))},Xs.prototype.initializeHostData=function(e){var t,r;I.readCookieParam(P.OPTANON_CONSENT,"hosts")?(bo.synchroniseCookieHostData(),t=I.readCookieParam(P.OPTANON_CONSENT,"hosts"),w.hostsConsent=v.strToArr(t),e.forEach(function(e){L.isAlwaysActiveGroup(e)&&e.Hosts.length&&e.Hosts.forEach(function(e){w.oneTrustAlwaysActiveHosts.push(e.HostId)})})):(w.hostsConsent=[],r={},e.forEach(function(e){var o=L.isAlwaysActiveGroup(e),n=w.syncRequired?bo.groupHasConsent(e):L.checkIsActiveByDefault(e);e.Hosts.length&&e.Hosts.forEach(function(e){var t;r[e.HostId]?bo.updateHostStatus(e,n):(r[e.HostId]=!0,o&&w.oneTrustAlwaysActiveHosts.push(e.HostId),t=bo.isHostPartOfAlwaysActiveGroup(e.HostId),w.hostsConsent.push(e.HostId+(t||n?":1":":0")))})}))},Xs.prototype.consentDefaulCall=function(){var e=parseInt(I.readCookieParam(P.OPTANON_CONSENT,A.INTERACTION_COUNT),10);!isNaN(e)&&0!==e||(po.triggerGoogleAnalyticsEvent(Sn,"Click","No interaction"),N.IsConsentLoggingEnabled&&qs.createConsentTxn(!0),window.removeEventListener("beforeunload",zs.consentDefaulCall))},Xs.prototype.fetchAssets=function(s){return void 0===s&&(s=null),F(this,void 0,void 0,function(){var t,o,n,r,i;return M(this,function(e){switch(e.label){case 0:return t=k.moduleInitializer,i=B.isAlertBoxClosedAndValid(),o=!!s,i=zs.isFetchBanner(t.IsSuppressBanner,i),n=zs.cookieSettingBtnPresent(),n=D.isIab2orv2Template?N.PCShowPersistentCookiesHoverButton&&(!N.PCenterDynamicRenderingEnable||(N.PCenterDynamicRenderingEnable,!n)):N.PCShowPersistentCookiesHoverButton,r="true"===w.urlParams.get(lt),w.hideBanner=r,[4,Promise.all([!i||N.NoBanner||r?Promise.resolve(null):Jt.getBannerContent(o,s),!t.IsSuppressPC||w.isPCVisible?Jt.getPcContent():Promise.resolve(null),n?Jt.getCSBtnContent():Promise.resolve(null),Jt.getCommonStyles()])];case 1:return i=e.sent(),r=i[0],o=i[1],t=i[2],n=i[3],zs.fetchContent(r,o,t,n),zs.setCookieListGroupData(),[2]}})})},Xs.prototype.fetchContent=function(e,t,o,n){var r;e&&(r=e.html,k.fp.CookieV2SSR||(r=atob(e.html)),this.bannerGroup={name:e.name,html:r,css:e.css}),t&&(this.preferenceCenterGroup={name:t.name,html:atob(t.html),css:t.css},k.isV2Template=N.PCTemplateUpgrade&&/otPcPanel|otPcCenter|otPcTab/.test(t.name)),o&&(this.csBtnGroup={name:"CookieSettingsButton",html:atob(o.html),css:o.css}),n&&(this.commonStyles=n)},Xs.prototype.cookieSettingBtnPresent=function(){return m("#ot-sdk-btn").length||m(".ot-sdk-show-settings").length||m(".optanon-show-settings").length},Xs.prototype.isFetchBanner=function(e,t){return!e||N.ShowAlertNotice&&!t&&e&&!m("#onetrust-banner-sdk").length},Xs.prototype.setCookieListGroupData=function(){var e;k.fp.CookieV2TrackingTechnologies||(e=(new Ws).assets(),zs.cookieListGroup={name:e.name,html:e.html,css:N.useRTL?e.cssRTL:e.css})},Xs.prototype.initializeIabPurposeConsentOnReload=function(){var t=this;D.consentableIabGrps.forEach(function(e){t.setIABConsent(e,!1),e.IsLegIntToggle=!0,t.setIABConsent(e,!1)})},Xs.prototype.initializeIABData=function(o,n,r){var i=this,e=(void 0===o&&(o=!1),void 0===n&&(n=!1),void 0===r&&(r=!1),w.oneTrustIABConsent),t=(e.purpose=[],e.vendors=[],e.legIntVendors=[],e.specialFeatures=[],e.legimateInterest=[],w.addtlVendors),s=N.VendorConsentModel===Ys;t.vendorConsent=[],!e.IABCookieValue||o||n||B.reconsentRequired()?(D.consentableIabGrps.forEach(function(e){var t;n&&!r?i.setIABConsent(e,L.isAlwaysActiveGroup(e)):r?e.HasConsentOptOut&&i.setIABConsent(e,!1):(t=o&&e.HasConsentOptOut,i.setIABConsent(e,t),e.Type===b.GroupTypes.Pur&&(e.IsLegIntToggle=!0,i.setIABConsent(e,e.HasLegIntOptOut)))}),N.IsIabEnabled&&r&&(w.oneTrustIABConsent.legimateInterest=w.vendors.selectedLegInt.slice()),t=o||!n&&s,r&&this.iab.saveVendorStatus(r),B.setIABVendor(t,r,n),!B.reconsentRequired()||o||n||B.resetTCModel()):(this.initializeIabPurposeConsentOnReload(),lo.populateGoogleConsent(),lo.populateVendorAndPurposeFromCookieData())},Xs.prototype.canSoftOptInInsertForGroup=function(e){var e=L.getGroupById(e);if(e)return e=e&&!e.Parent?e:L.getParentGroup(e.Parent),"inactive landingpage"!==L.getGrpStatus(e).toLowerCase()||!Po.isLandingPage()},Xs.prototype.setIABConsent=function(e,t){e.Type===b.GroupTypes.Spl_Ft?this.setIabSpeciFeatureConsent(e,t):e.IsLegIntToggle?(this.setIabLegIntConsent(e,t),e.IsLegIntToggle=!1):this.setIabPurposeConsent(e,t)},Xs.prototype.setIabPurposeConsent=function(o,n){var r=!1;w.oneTrustIABConsent.purpose=w.oneTrustIABConsent.purpose.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||w.oneTrustIABConsent.purpose.push(o.IabGrpId+":"+n)},Xs.prototype.setIabLegIntConsent=function(o,n){var r=!1;w.oneTrustIABConsent.legimateInterest=w.oneTrustIABConsent.legimateInterest.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||w.oneTrustIABConsent.legimateInterest.push(o.IabGrpId+":"+n)},Xs.prototype.setIabSpeciFeatureConsent=function(o,n){var r=!1;w.oneTrustIABConsent.specialFeatures=w.oneTrustIABConsent.specialFeatures.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||w.oneTrustIABConsent.specialFeatures.push(o.IabGrpId+":"+n)},Xs);function Xs(){this.iab=C}Zs.prototype.getAllGroupElements=function(){return document.querySelectorAll("div#onetrust-pc-sdk "+T.P_Category_Grp+" "+T.P_Category_Item+":not(.ot-vnd-item)")},Zs.prototype.toggleGrpElements=function(e,t,o,n){void 0===n&&(n=!1);for(var r=(e=D.pcName===at&&N.PCTemplateUpgrade?document.querySelector("#ot-desc-id-"+e.getAttribute("data-optanongroupid")):e).querySelectorAll('input[class*="category-switch-handler"]'),i=0;i"):""},Zs.prototype.canInsertForGroup=function(e,t){void 0===t&&(t=!1);var o=null!=e&&void 0!==e,n=I.readCookieParam(P.OPTANON_CONSENT,"groups"),r=w.groupsConsent.join(","),i=I.readCookieParam(P.OPTANON_CONSENT,"hosts"),s=w.hostsConsent.join(",");if(t)return!0;n===r&&i===s||zs.ensureHtmlGroupDataInitialised();var a=[];if(w.showGeneralVendors)for(var l=0,c=Object.entries(w.genVendorsConsent);l\n '+e.Name+' '+N.NewWinTxt+"\n \n ":n):""},s.prototype.getBannerSDKAssestsUrl=function(){return this.getBannerVersionUrl()+"/assets"},s.prototype.getBannerVersionUrl=function(){var e=D.bannerScriptElement.getAttribute("src");return""+(-1!==e.indexOf("/consent/")?e.split("consent/")[0]+"scripttemplates/":e.split("otSDKStub")[0])+k.moduleInitializer.Version},s.prototype.checkMobileOfflineRequest=function(e){return k.moduleInitializer.MobileSDK&&new RegExp("^file://","i").test(e)},s.prototype.updateCorrectIABUrl=function(e){var t,o=k.moduleInitializer.ScriptType;return o!==je.LOCAL&&o!==je.LOCAL_TEST||(o=v.getURL(e),(t=(t=D.bannerScriptElement)&&t.getAttribute("src")?v.getURL(t.getAttribute("src")):null)&&o&&t.hostname!==o.hostname&&(e=(e=(t=""+D.bannerDataParentURL)+o.pathname.split("/").pop().replace(/(^\/?)/,"/")).replace(o.hostname,t.hostname))),e},s.prototype.updateCorrectUrl=function(e,t){if((void 0===t&&(t=!1),D.previewMode)&&new RegExp("^data:image/").test(e))return e;var o=v.getURL(e),n=D.bannerScriptElement,n=n&&n.getAttribute("src")?v.getURL(n.getAttribute("src")):null;if(n&&o&&n.hostname!==o.hostname){var r=k.moduleInitializer.ScriptType;if(r===je.LOCAL||r===je.LOCAL_TEST){if(t)return e;n=D.bannerDataParentURL+"/"+D.getRegionRule().Id,D.canUseConditionalLogic&&(n+="/"+D.Condition.Id),e=n+(null==(r=null==(r=e)?void 0:r.replace(null==(t=k.moduleInitializer)?void 0:t.CDNLocation,""))?void 0:r.replace(/(^\/?)/,"/"))}else e=null==(t=e)?void 0:t.replace(o.hostname,n.hostname)}return e},s.prototype.isBundleOrStackActive=function(n,r){void 0===r&&(r=null);for(var i=w.oneTrustIABConsent,s=!0,a=(r=r||w.groupsConsent,0);(()=>{var e,t,o=n.SubGroups[a];o&&o.Status!==f.ALWAYS_ACTIVE&&(o.Type===Et?(-1<(t=v.findIndex(r,function(e){return e.split(":")[0]===o.CustomGroupId}))&&"0"===r[t].split(":")[1]||!r.length)&&(s=!1):(e=o.Type===b.GroupTypes.Spl_Ft?i.specialFeatures:i.purpose,(-1<(t=v.findIndex(e,function(e){return e.split(":")[0]===o.IabGrpId}))&&"false"===e[t].split(":")[1]||!e.length)&&(s=!1))),a++})(),s&&a","ce").el,r=(m(n).html(e),n.querySelectorAll("a")),i=0;i",i.setAttribute("title",s),i.querySelector("use").setAttribute("href",r),t[n].appendChild(i)):(a.setAttribute("src",o),a.setAttribute("title",s))}}},s.prototype.removeFooterLogo=function(e){e&&v.removeChild(e)},s.prototype.getUTCFormattedDate=function(e){e=new Date(e);return e.getUTCFullYear()+"-"+(e.getUTCMonth()+1).toString().padStart(2,"0")+"-"+e.getUTCDate().toString().toString().padStart(2,"0")+" "+e.getUTCHours()+":"+e.getUTCMinutes().toString().toString().padStart(2,"0")+":"+e.getUTCSeconds().toString().toString().padStart(2,"0")},s.prototype.getDurationText=function(e){return 365<=e?(e=this.round_to_precision(e/=365,.5))+" "+(1",o.querySelector("use").setAttribute("href","#"+t),e.appendChild(o)):Rt(r.el,'background-image: url("'+n+'")',!0))},s.prototype.createOptOutSignalElement=function(e,t){var o=e(t?"#ot-pc-content":"#onetrust-policy"),n=document.createElement("div"),r=(n.classList.add("ot-optout-signal"),document.createElement("div")),i=(r.classList.add("ot-optout-icon"),r.setAttribute("aria-hidden","true"),document.createElement("span"));return i.setAttribute("id",t?"ot-pc-gpc-txt":"ot-bnr-gpc-txt"),i.innerText=this.getOptOutSignalText(t),n.append(r),n.append(i),null!=(t=o)&&t.prepend(n),this.applyGuardLogo(e),n},s.prototype.getOptOutSignalContext=function(e,t){function o(e){return t?t(e):document.querySelector(e)}var n=e?"ot-pc-gpc-txt":"ot-bnr-gpc-txt",e=o("#"+(e?this.PcSdkId:this.BannerSdkId));return{gpcTextId:n,find:o,sdkContainer:e,dialog:null==(n=e)?void 0:n.querySelector('[role="dialog"]')}},s.prototype.applyOptOutSignalA11y=function(e,t){var t=this.getOptOutSignalContext(e,t),o=t.gpcTextId,n=t.find,r=t.sdkContainer,t=t.dialog,i=n("#"+o);t&&i&&(e?this.applyPcDialogLabel(t,i):this.applyBannerDialogLabel(t,o,n)),r&&i&&this.addDescribedBy(r,o)},s.prototype.removeOptOutSignalA11y=function(e,t){var t=this.getOptOutSignalContext(e,t),o=t.gpcTextId,n=t.sdkContainer,t=t.dialog;t&&(e?this.restorePcDialogLabel(t):t.hasAttribute(Pt)&&t.removeAttribute(Pt)),n&&this.removeDescribedBy(n,o)},s.prototype.applyPcDialogLabel=function(e,t){var t=t.textContent||"",o=e.getAttribute(vt)||"";t&&!e.hasAttribute(this.OrigLabelAttr)&&(e.setAttribute(this.OrigLabelAttr,o),e.setAttribute(vt,t+". "+o))},s.prototype.applyBannerDialogLabel=function(e,t,o){var n="onetrust-policy-title",t=[t];o("#"+n)&&t.push(n),e.setAttribute(Pt,t.join(" "))},s.prototype.restorePcDialogLabel=function(e){var t=e.getAttribute(this.OrigLabelAttr);null!==t&&(e.setAttribute(vt,t),e.removeAttribute(this.OrigLabelAttr))},s.prototype.addDescribedBy=function(e,t){var o=e.getAttribute(At)||"";o.includes(t)||e.setAttribute(At,o?o+" "+t:t)},s.prototype.removeDescribedBy=function(e,t){var o=(e.getAttribute(At)||"").split(" ").filter(function(e){return e!==t}).join(" ");o?e.setAttribute(At,o):e.removeAttribute(At)},s.prototype.getOptOutSignalText=function(e){return e?N.PCOptOutSignalText:N.BOptOutSignalText},s.prototype.getFloatingBtnAriaLabel=function(e){var t=N.CookieSettingButtonText;return(void 0!==e?e:this.shouldShowOptOutNotification())&&N.PCOptOutSignalText?t+", "+N.PCOptOutSignalText:t},s.prototype.initOptOutSignalNotification=function(){var e,t=this,o=document.querySelector(this.FltgBtnSelector);o&&(o.querySelector(this.OptOutNtfySelector)||this.createOptOutNtfyElement(o),this.cachedFltgBtn=o,this.cachedNtfy=o.querySelector(this.OptOutNtfySelector),o.classList.add(this.HasOptOutNtfyClass),(e=o.querySelector(this.FltgFrontBtnSelector))&&e.setAttribute(vt,this.getFloatingBtnAriaLabel()),this.optOutNtfyInitialized||(o.addEventListener("mouseenter",e=function(){!o.classList.contains("ot-pc-open")&&t.shouldShowOptOutNotification()&&t.showOptOutNotification()}),o.addEventListener("focusin",e),o.addEventListener("keydown",function(e){"Escape"===e.key&&t.hideOptOutNotification()}),this.optOutNtfyInitialized=!0))},s.prototype.createOptOutNtfyElement=function(e){var t=document.createElement("div"),o=(t.className="ot-optout-ntfy ot-hide",document.createElement("span")),o=(o.className="ot-optout-ntfy-icon",o.setAttribute(Tt,"true"),t.appendChild(o),document.createElement("span"));o.className="ot-optout-ntfy-txt",o.textContent=N.PCOptOutSignalText,t.appendChild(o),e.appendChild(t)},s.prototype.syncOptOutNotification=function(){var e=this.shouldShowOptOutNotification(),t=this.cachedFltgBtn||document.querySelector(this.FltgBtnSelector);t&&(t=t.querySelector(this.FltgFrontBtnSelector))&&t.setAttribute(vt,this.getFloatingBtnAriaLabel(e)),e?(this.initOptOutSignalNotification(),this.showOptOutNotification()):this.hideOptOutNotification()},s.prototype.showOptOutNotification=function(){var e,t=this,o=this.cachedNtfy||document.querySelector(this.OptOutNtfySelector);o&&((e=this.cachedFltgBtn||document.querySelector(this.FltgBtnSelector))&&e.classList.add(this.NtfyActiveClass),o.classList.remove("ot-hide"),requestAnimationFrame(function(){o.classList.add(t.OptOutNtfyShowClass)}),this.optOutNtfyTimer&&clearTimeout(this.optOutNtfyTimer),this.optOutNtfyTimer=setTimeout(function(){t.hideOptOutNotification()},5e3))},s.prototype.hideOptOutNotification=function(){var e,t=this,o=this.cachedNtfy||document.querySelector(this.OptOutNtfySelector);o&&((e=this.cachedFltgBtn||document.querySelector(this.FltgBtnSelector))&&e.classList.remove(this.NtfyActiveClass),o.classList.remove(this.OptOutNtfyShowClass),setTimeout(function(){o.classList.contains(t.OptOutNtfyShowClass)||o.classList.add("ot-hide")},300),this.optOutNtfyTimer)&&(clearTimeout(this.optOutNtfyTimer),this.optOutNtfyTimer=null)},s.prototype.shouldShowOptOutNotification=function(){var e,t;return!!(N.PCShowPersistentCookiesHoverButton&&N.PCShowOptOutSignal&&(e=D.gpcEnabled&&D.gpcForAGrpEnabled,t=!!N.Groups&&y.isAnyGPCGroupOptedOut(),e&&t||D.previewMode))},s.prototype.shouldShowDoubleOptInSignal=function(o){var e,t,n,r,i;return void 0===o&&(o=!1),!(!N.PCShowDoubleOptInSignal||(t=!!(e=w.isPCVisible?document.getElementById(this.PcSdkId):document.getElementById(this.BannerSdkId))&&"none"!==window.getComputedStyle(e).display,!e)||!t)&&(e=I.readCookieParam(P.OPTANON_CONSENT,$t),t=v.strToArr(e),n=h.getGroupConsentMap(t),r=h.getGroupConsentMap(w.groupsConsent),i=null!==B.alertBoxCloseDate(),null==(e=N.Groups)?void 0:e.some(function(e){var t=D.gpcEnabled&&e.IsGpcEnabled;if(i||t){t=e.CustomGroupId;if("0"===n[t]&&("1"===r[t]||o))return!0}return!1}))},s.prototype.getGroupConsentMap=function(e){return null==(e=e)?void 0:e.reduce(function(e,t){t=t.split(":");return e[t[0]]=t[1],e},{})},s.prototype.createDoubleOptInConfirmDialog=function(e,t,o){var n=null==(n=window.OneTrust_ConfirmDialog)?void 0:n.getInstance();n&&(n.create({text:N.PCDoubleOptInSignalText,description:N.PCDoubleOptInSignalDescription,cancelText:N.PCDoubleOptInSignalCancelText,confirmText:N.PCDoubleOptInSignalConfirmText,onConfirm:t,onCancel:o}).open(e?"#"+this.PcSdkId:"#"+this.BannerSdkId),h.setCloseIcon(document.querySelector(".ot-confirm-dialog .ot-close-icon")))},s.prototype.applyGuardLogo=function(i){return F(this,void 0,void 0,function(){var t,o,n,r;return M(this,function(e){switch(e.label){case 0:return k.fp.CMPIconSprite?(n="",m(i(".ot-optout-icon")).html(n),m(i(".ot-optout-icon svg")).attr("class","ot-source-sprite"),[3,3]):[3,1];case 1:return(t=N.cookiePersistentLogo).includes("ot_guard_logo.svg")||(o=N.OTCloseBtnLogo,r=o.indexOf("static/"),t=o.replace(o.slice(r+7),"ot_guard_logo.svg")),(o=k.moduleInitializer.ScriptType)!==je.LOCAL&&o!==je.LOCAL_TEST||(t=h.updateCorrectUrl(t)),[4,Jt.getPersistentCookieSvg(t)];case 2:n=e.sent(),r=(r=n)&&n.replace(/